Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.795/1.795, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009133/0.0009135, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.116/1.116, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008234/0.0008234, allocations: 99.66 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4195/0.4203, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.5961, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5035/1.1, allocations: 182.5 MB / 1.39 GB, free: 14.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/1.1, allocations: 93.59 kB / 1.39 GB, free: 14.94 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.4165/1.516, allocations: 196.6 MB / 1.582 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/1.516, allocations: 12 kB / 1.582 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/1.522, allocations: 1.009 MB / 1.583 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/1.528, allocations: 3.233 MB / 1.586 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.528, allocations: 160 kB / 1.586 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/1.528, allocations: 275.9 kB / 1.587 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007803/1.536, allocations: 4.881 MB / 1.591 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/1.545, allocations: 6.856 MB / 1.598 GB, free: 10.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/1.545, allocations: 19.78 kB / 1.598 GB, free: 10.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/1.546, allocations: 16 kB / 1.598 GB, free: 10.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/1.546, allocations: 277.2 kB / 1.598 GB, free: 10.18 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/1.575, allocations: 35.34 MB / 1.633 GB, free: 3.613 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/1.577, allocations: 2.008 MB / 1.635 GB, free: 1.594 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/1.579, allocations: 1.442 MB / 1.636 GB, free: 156 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/1.579, allocations: 17.31 kB / 1.636 GB, free: 136 kB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.579, allocations: 51.88 kB / 1.636 GB, free: 76 kB / 1.042 GB Notification: Performance of pre-optimization done (n=157): time 2.895e-06/1.579, allocations: 4 kB / 1.636 GB, free: 72 kB / 1.042 GB Notification: Performance of matching and sorting (n=160): time 0.007295/1.586, allocations: 4.871 MB / 1.641 GB, free: 11.15 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.586, allocations: 68.72 kB / 1.641 GB, free: 11.07 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.588, allocations: 1.244 MB / 1.642 GB, free: 9.789 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/1.588, allocations: 37.69 kB / 1.642 GB, free: 9.746 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/1.589, allocations: 1.801 MB / 1.644 GB, free: 7.918 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/1.589, allocations: 0.539 MB / 1.645 GB, free: 7.371 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/1.589, allocations: 0 / 1.645 GB, free: 7.371 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.589, allocations: 390 kB / 1.645 GB, free: 6.984 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.591, allocations: 0.9921 MB / 1.646 GB, free: 5.988 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.592, allocations: 1.697 MB / 1.648 GB, free: 3.957 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.594, allocations: 1.287 MB / 1.649 GB, free: 2.668 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.594, allocations: 8 kB / 1.649 GB, free: 2.66 MB / 1.057 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005276/1.599, allocations: 3.579 MB / 1.652 GB, free: 15.04 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.599, allocations: 4 kB / 1.652 GB, free: 15.03 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.599, allocations: 27.98 kB / 1.652 GB, free: 15 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/1.601, allocations: 0.9039 MB / 1.653 GB, free: 14.06 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.603, allocations: 395.4 kB / 1.654 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/1.619, allocations: 19.69 MB / 1.673 GB, free: 8.605 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.62, allocations: 51.95 kB / 1.673 GB, free: 8.551 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.621, allocations: 99.98 kB / 1.673 GB, free: 8.453 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003404/1.621, allocations: 172.3 kB / 1.673 GB, free: 8.277 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/1.621, allocations: 233.3 kB / 1.673 GB, free: 8.047 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/1.626, allocations: 3.152 MB / 1.676 GB, free: 4.848 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.626, allocations: 16 kB / 1.676 GB, free: 4.832 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.626, allocations: 12 kB / 1.677 GB, free: 4.82 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.626, allocations: 11.97 kB / 1.677 GB, free: 4.809 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.637, allocations: 6.712 MB / 1.683 GB, free: 13.95 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.637, allocations: 4 kB / 1.683 GB, free: 13.95 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/1.638, allocations: 196.2 kB / 1.683 GB, free: 13.75 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/1.64, allocations: 0.8765 MB / 1.684 GB, free: 12.84 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.64, allocations: 4 kB / 1.684 GB, free: 12.84 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.656, allocations: 19.66 MB / 1.703 GB, free: 7.793 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.656, allocations: 7.938 kB / 1.703 GB, free: 7.785 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005055/1.661, allocations: 3.6 MB / 1.707 GB, free: 3.922 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005112/1.666, allocations: 4.026 MB / 1.711 GB, free: 15.62 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.667, allocations: 0.5023 MB / 1.711 GB, free: 15.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.668, allocations: 11.98 kB / 1.711 GB, free: 15.09 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/1.669, allocations: 39.94 kB / 1.711 GB, free: 15.05 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.669, allocations: 89.09 kB / 1.711 GB, free: 14.96 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.669, allocations: 48 kB / 1.711 GB, free: 14.91 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001202/1.67, allocations: 0.9139 MB / 1.712 GB, free: 13.98 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003229/1.673, allocations: 0.8164 MB / 1.713 GB, free: 13.16 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002387/1.674, allocations: 135 kB / 1.713 GB, free: 13.02 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.005425/1.679, allocations: 4.011 MB / 1.717 GB, free: 8.898 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.679, allocations: 4 kB / 1.717 GB, free: 8.895 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.683, allocations: 2.713 MB / 1.72 GB, free: 6.062 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.685, allocations: 0.6343 MB / 1.72 GB, free: 5.426 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.695, allocations: 5.998 MB / 1.726 GB, free: 15.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003429/1.699, allocations: 3.387 MB / 1.73 GB, free: 11.88 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/1.699, allocations: 0 / 1.73 GB, free: 11.88 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat