Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.789/1.789, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009653/0.0009652, allocations: 185.2 kB / 490.8 MB, free: 1.945 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.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008239/0.000824, allocations: 83.2 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4117/0.4126, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.594, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/1.13, allocations: 199.5 MB / 1.406 GB, free: 1.965 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.131, allocations: 98.8 kB / 1.407 GB, free: 1.91 MB / 0.823 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.08979/1.22, allocations: 44.19 MB / 1.45 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/1.22, allocations: 8 kB / 1.45 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/1.222, allocations: 198.9 kB / 1.45 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/1.223, allocations: 0.499 MB / 1.45 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.223, allocations: 16 kB / 1.45 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.223, allocations: 35.91 kB / 1.45 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007242/1.224, allocations: 479.6 kB / 1.451 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/1.225, allocations: 0.7921 MB / 1.452 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.225, allocations: 7.562 kB / 1.452 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/1.225, allocations: 4 kB / 1.452 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/1.225, allocations: 48.95 kB / 1.452 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/1.229, allocations: 4.509 MB / 1.456 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/1.229, allocations: 275.4 kB / 1.456 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.229, allocations: 221.5 kB / 1.457 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/1.229, allocations: 4 kB / 1.457 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.229, allocations: 33.88 kB / 1.457 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/1.229, allocations: 3.938 kB / 1.457 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.003572/1.233, allocations: 2.016 MB / 1.459 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/1.233, allocations: 59.41 kB / 1.459 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/1.233, allocations: 332.9 kB / 1.459 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.233, allocations: 29.7 kB / 1.459 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.233, allocations: 296.5 kB / 1.459 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.233, allocations: 134.1 kB / 1.459 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/1.233, allocations: 3.938 kB / 1.459 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.234, allocations: 360.3 kB / 1.46 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/1.234, allocations: 224.1 kB / 1.46 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/1.234, allocations: 367.9 kB / 1.46 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/1.235, allocations: 288.9 kB / 1.461 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.235, allocations: 0 / 1.461 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001453/1.236, allocations: 0.846 MB / 1.461 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.236, allocations: 9.344 kB / 1.461 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.236, allocations: 8 kB / 1.461 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/1.237, allocations: 216.6 kB / 1.462 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/1.237, allocations: 106.9 kB / 1.462 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/1.241, allocations: 4.618 MB / 1.466 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/1.242, allocations: 15.98 kB / 1.466 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/1.242, allocations: 22.81 kB / 1.466 GB, free: 12.99 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.0001107/1.242, allocations: 116.8 kB / 1.466 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/1.242, allocations: 55.42 kB / 1.467 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/1.243, allocations: 0.741 MB / 1.467 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.243, allocations: 8 kB / 1.467 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.243, allocations: 192 / 1.467 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.243, allocations: 11.89 kB / 1.467 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.245, allocations: 1.374 MB / 1.469 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.245, allocations: 224 / 1.469 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/1.246, allocations: 67.33 kB / 1.469 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/1.246, allocations: 203.9 kB / 1.469 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/1.247, allocations: 8 kB / 1.469 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/1.25, allocations: 4.534 MB / 1.473 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.25, allocations: 4 kB / 1.473 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001551/1.252, allocations: 1.193 MB / 1.474 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002002/1.254, allocations: 1.904 MB / 1.476 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/1.254, allocations: 176.2 kB / 1.476 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/1.254, allocations: 4 kB / 1.476 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/1.255, allocations: 11.98 kB / 1.477 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/1.255, allocations: 23.78 kB / 1.477 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.255, allocations: 8 kB / 1.477 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002133/1.255, allocations: 255 kB / 1.477 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001144/1.256, allocations: 163.8 kB / 1.477 GB, free: 3.16 MB / 0.8855 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.0001454/1.256, allocations: 119.8 kB / 1.477 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001287/1.257, allocations: 0.9198 MB / 1.478 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.257, allocations: 4.125 kB / 1.478 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008075/1.258, allocations: 0.6195 MB / 1.479 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/1.259, allocations: 126.9 kB / 1.479 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/1.261, allocations: 0.9717 MB / 1.48 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/1.261, allocations: 0.9966 MB / 1.481 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of SimCode: time 3e-07/1.261, allocations: 0 / 1.481 GB, free: 15.67 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat