Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.814/1.814, 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.0009576/0.0009575, allocations: 180.7 kB / 487 MB, free: 5.426 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.202/1.202, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008702/0.0008703, allocations: 103.2 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.426/0.4269, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.6055, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5509/1.156, allocations: 217.9 MB / 1.418 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.157, allocations: 96.62 kB / 1.418 GB, free: 8.414 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.2578/1.414, allocations: 124.2 MB / 1.539 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/1.415, allocations: 12 kB / 1.539 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.425, allocations: 1.515 MB / 1.541 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/1.427, allocations: 1.235 MB / 1.542 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/1.427, allocations: 43.98 kB / 1.542 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.427, allocations: 68 kB / 1.542 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002569/1.43, allocations: 1.762 MB / 1.544 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/1.433, allocations: 2.112 MB / 1.546 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/1.433, allocations: 11.94 kB / 1.546 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.433, allocations: 4 kB / 1.546 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/1.433, allocations: 82.28 kB / 1.546 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/1.446, allocations: 10.33 MB / 1.556 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.448, allocations: 1.652 MB / 1.558 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/1.449, allocations: 0.9129 MB / 1.559 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/1.45, allocations: 8.781 kB / 1.559 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.45, allocations: 47.34 kB / 1.559 GB, free: 4.395 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/1.45, allocations: 4 kB / 1.559 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.01261/1.462, allocations: 5.795 MB / 1.564 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/1.462, allocations: 222.9 kB / 1.565 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009021/1.463, allocations: 0.7662 MB / 1.565 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.463, allocations: 25.7 kB / 1.565 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/1.464, allocations: 0.5269 MB / 1.566 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/1.464, allocations: 433.4 kB / 1.566 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.464, allocations: 0 / 1.566 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.464, allocations: 353.9 kB / 1.567 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.465, allocations: 0.9671 MB / 1.568 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/1.467, allocations: 1.218 MB / 1.569 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/1.468, allocations: 1.115 MB / 1.57 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.468, allocations: 0 / 1.57 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007943/1.476, allocations: 3.684 MB / 1.574 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.476, allocations: 8.094 kB / 1.574 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.476, allocations: 11.94 kB / 1.574 GB, free: 5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/1.483, allocations: 1.572 MB / 1.575 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.485, allocations: 363.4 kB / 1.575 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/1.508, allocations: 23.31 MB / 1.598 GB, free: 10.22 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.51, allocations: 203.7 kB / 1.598 GB, free: 10.02 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.51, allocations: 55.97 kB / 1.598 GB, free: 9.969 MB / 1.026 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.0003119/1.511, allocations: 132.7 kB / 1.599 GB, free: 9.832 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.511, allocations: 154.2 kB / 1.599 GB, free: 9.68 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/1.519, allocations: 3.79 MB / 1.602 GB, free: 5.836 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.519, allocations: 12 kB / 1.602 GB, free: 5.824 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.519, allocations: 16 kB / 1.602 GB, free: 5.809 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.519, allocations: 3.984 kB / 1.602 GB, free: 5.805 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/1.531, allocations: 6.035 MB / 1.608 GB, free: 15.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.531, allocations: 0 / 1.608 GB, free: 15.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.533, allocations: 327.7 kB / 1.609 GB, free: 15.29 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/1.539, allocations: 1.463 MB / 1.61 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.539, allocations: 23.97 kB / 1.61 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.561, allocations: 22.35 MB / 1.632 GB, free: 5.914 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.561, allocations: 7.984 kB / 1.632 GB, free: 5.906 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00754/1.568, allocations: 3.662 MB / 1.636 GB, free: 2.105 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007446/1.576, allocations: 4.075 MB / 1.639 GB, free: 13.88 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007896/1.576, allocations: 455.1 kB / 1.64 GB, free: 13.41 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/1.577, allocations: 11.91 kB / 1.64 GB, free: 13.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.579, allocations: 207.7 kB / 1.64 GB, free: 13.2 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.579, allocations: 68.89 kB / 1.64 GB, free: 13.13 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.579, allocations: 47.97 kB / 1.64 GB, free: 13.09 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0007283/1.58, allocations: 0.5761 MB / 1.641 GB, free: 12.5 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002513/1.582, allocations: 0.5156 MB / 1.641 GB, free: 11.99 MB / 1.073 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.0003048/1.582, allocations: 150.9 kB / 1.641 GB, free: 11.83 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.006166/1.589, allocations: 4.049 MB / 1.645 GB, free: 7.641 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.589, allocations: 4 kB / 1.645 GB, free: 7.637 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/1.593, allocations: 2.861 MB / 1.648 GB, free: 4.645 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.595, allocations: 411.6 kB / 1.649 GB, free: 4.25 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/1.601, allocations: 2.92 MB / 1.651 GB, free: 1.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.603, allocations: 1.565 MB / 1.653 GB, free: 15.65 MB / 1.089 GB Notification: Performance of SimCode: time 5.41e-07/1.603, allocations: 0 / 1.653 GB, free: 15.65 MB / 1.089 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat