Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.3 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008359, allocations: 86.52 kB / 0.9213 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.402/0.4028, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.5803, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5378/1.118, allocations: 198.7 MB / 1.399 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.118, allocations: 95.66 kB / 1.399 GB, free: 10.81 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0909/1.209, allocations: 44.19 MB / 1.443 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.209, allocations: 8 kB / 1.443 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.211, allocations: 206.1 kB / 1.443 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/1.212, allocations: 0.4929 MB / 1.443 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.212, allocations: 16 kB / 1.443 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/1.212, allocations: 39.89 kB / 1.443 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006807/1.213, allocations: 473.8 kB / 1.444 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/1.214, allocations: 0.8002 MB / 1.445 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.214, allocations: 4 kB / 1.445 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/1.214, allocations: 4 kB / 1.445 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/1.214, allocations: 48.66 kB / 1.445 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/1.217, allocations: 4.502 MB / 1.449 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/1.218, allocations: 271.8 kB / 1.449 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/1.218, allocations: 230.7 kB / 1.45 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.218, allocations: 4 kB / 1.45 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.218, allocations: 34.56 kB / 1.45 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/1.218, allocations: 0 / 1.45 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.003523/1.222, allocations: 2.013 MB / 1.452 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/1.222, allocations: 59.39 kB / 1.452 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/1.222, allocations: 330.1 kB / 1.452 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/1.222, allocations: 29.7 kB / 1.452 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.222, allocations: 298.8 kB / 1.452 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/1.222, allocations: 129.9 kB / 1.452 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/1.222, allocations: 0 / 1.452 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.222, allocations: 360.8 kB / 1.453 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/1.223, allocations: 224.7 kB / 1.453 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/1.223, allocations: 371.5 kB / 1.453 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/1.223, allocations: 287.9 kB / 1.454 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.223, allocations: 0 / 1.454 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00142/1.225, allocations: 0.8434 MB / 1.454 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.225, allocations: 7.219 kB / 1.454 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.225, allocations: 11.91 kB / 1.454 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/1.226, allocations: 225 kB / 1.455 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/1.226, allocations: 107.8 kB / 1.455 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/1.23, allocations: 4.623 MB / 1.459 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/1.231, allocations: 15.89 kB / 1.459 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/1.231, allocations: 19.69 kB / 1.459 GB, free: 5.883 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.231, allocations: 113 kB / 1.459 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/1.231, allocations: 62.97 kB / 1.459 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.232, allocations: 0.7421 MB / 1.46 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.232, allocations: 4 kB / 1.46 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.232, allocations: 11.91 kB / 1.46 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.232, allocations: 3.984 kB / 1.46 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.234, allocations: 1.369 MB / 1.461 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.234, allocations: 7.984 kB / 1.461 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/1.235, allocations: 56.19 kB / 1.462 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/1.235, allocations: 210.3 kB / 1.462 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.235, allocations: 4 kB / 1.462 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/1.239, allocations: 4.541 MB / 1.466 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.239, allocations: 4.062 kB / 1.466 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001543/1.241, allocations: 1.199 MB / 1.467 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001998/1.243, allocations: 1.897 MB / 1.469 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.243, allocations: 169 kB / 1.469 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/1.243, allocations: 8.062 kB / 1.469 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/1.243, allocations: 11.97 kB / 1.469 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/1.244, allocations: 23.41 kB / 1.469 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/1.244, allocations: 11.75 kB / 1.469 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0002175/1.244, allocations: 255.7 kB / 1.47 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001089/1.245, allocations: 159.8 kB / 1.47 GB, free: 12.07 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/1.245, allocations: 111.2 kB / 1.47 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.246, allocations: 0.9178 MB / 1.471 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.246, allocations: 0 / 1.471 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008222/1.247, allocations: 0.6122 MB / 1.471 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/1.248, allocations: 133.4 kB / 1.472 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/1.25, allocations: 0.9808 MB / 1.472 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006452/1.25, allocations: 0.9971 MB / 1.473 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of SimCode: time 2.51e-07/1.25, allocations: 0 / 1.473 GB, free: 8.586 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat