Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.819/1.819, 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.001033/0.001033, allocations: 181.3 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.131/1.131, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0008264/0.0008264, allocations: 86.98 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4239/0.4247, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.6043, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5569/1.161, allocations: 218.7 MB / 1.425 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.162, allocations: 98.8 kB / 1.425 GB, free: 15.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.2607/1.422, allocations: 124.2 MB / 1.547 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/1.422, allocations: 12 kB / 1.547 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.433, allocations: 1.515 MB / 1.548 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/1.435, allocations: 1.235 MB / 1.549 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/1.435, allocations: 40 kB / 1.549 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/1.436, allocations: 68 kB / 1.549 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00289/1.439, allocations: 1.754 MB / 1.551 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/1.441, allocations: 2.112 MB / 1.553 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/1.442, allocations: 15.92 kB / 1.553 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/1.442, allocations: 4 kB / 1.553 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/1.442, allocations: 82.28 kB / 1.553 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/1.455, allocations: 10.33 MB / 1.563 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/1.458, allocations: 1.653 MB / 1.565 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.459, allocations: 0.9129 MB / 1.566 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/1.459, allocations: 8.781 kB / 1.566 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.459, allocations: 43.34 kB / 1.566 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/1.459, allocations: 4 kB / 1.566 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.0131/1.472, allocations: 5.795 MB / 1.572 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/1.472, allocations: 226.9 kB / 1.572 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/1.473, allocations: 0.7623 MB / 1.573 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.473, allocations: 25.7 kB / 1.573 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/1.473, allocations: 0.523 MB / 1.573 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/1.474, allocations: 433.4 kB / 1.573 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.474, allocations: 0 / 1.573 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.474, allocations: 361.9 kB / 1.574 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.475, allocations: 0.9671 MB / 1.575 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/1.476, allocations: 1.218 MB / 1.576 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/1.478, allocations: 1.115 MB / 1.577 GB, free: 452 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.478, allocations: 0 / 1.577 GB, free: 452 kB / 0.9792 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008158/1.486, allocations: 3.68 MB / 1.581 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.486, allocations: 12.12 kB / 1.581 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.486, allocations: 4 kB / 1.581 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006728/1.493, allocations: 1.568 MB / 1.582 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.495, allocations: 363.4 kB / 1.583 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/1.518, allocations: 23.32 MB / 1.605 GB, free: 1.902 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/1.52, allocations: 207.7 kB / 1.606 GB, free: 1.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.521, allocations: 55.97 kB / 1.606 GB, free: 1.645 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003659/1.521, allocations: 134.8 kB / 1.606 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/1.521, allocations: 150.2 kB / 1.606 GB, free: 1.359 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008457/1.53, allocations: 3.786 MB / 1.61 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.53, allocations: 19.98 kB / 1.61 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.53, allocations: 12 kB / 1.61 GB, free: 13.49 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.53, allocations: 3.984 kB / 1.61 GB, free: 13.48 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.541, allocations: 6.035 MB / 1.615 GB, free: 7.301 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.541, allocations: 352 / 1.615 GB, free: 7.301 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.543, allocations: 315.5 kB / 1.616 GB, free: 6.992 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006045/1.549, allocations: 1.455 MB / 1.617 GB, free: 5.496 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.55, allocations: 27.86 kB / 1.617 GB, free: 5.469 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/1.571, allocations: 22.36 MB / 1.639 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.571, allocations: 7.984 kB / 1.639 GB, free: 13.61 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007584/1.579, allocations: 3.662 MB / 1.643 GB, free: 9.801 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007365/1.586, allocations: 4.075 MB / 1.647 GB, free: 5.578 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000772/1.587, allocations: 459.2 kB / 1.647 GB, free: 5.109 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/1.587, allocations: 4 kB / 1.647 GB, free: 5.105 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/1.589, allocations: 207.7 kB / 1.647 GB, free: 4.902 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.589, allocations: 72.8 kB / 1.647 GB, free: 4.832 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.589, allocations: 47.97 kB / 1.647 GB, free: 4.785 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.00078/1.59, allocations: 0.5723 MB / 1.648 GB, free: 4.207 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002347/1.592, allocations: 0.5156 MB / 1.648 GB, free: 3.691 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/1.593, allocations: 146.3 kB / 1.649 GB, free: 3.535 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006034/1.599, allocations: 4.053 MB / 1.653 GB, free: 15.35 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.599, allocations: 0 / 1.653 GB, free: 15.35 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/1.603, allocations: 2.846 MB / 1.655 GB, free: 12.37 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.605, allocations: 432.5 kB / 1.656 GB, free: 11.95 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/1.611, allocations: 2.916 MB / 1.659 GB, free: 8.953 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.612, allocations: 1.569 MB / 1.66 GB, free: 7.355 MB / 1.073 GB Notification: Performance of SimCode: time 4.21e-07/1.612, allocations: 0 / 1.66 GB, free: 7.355 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat