Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.72 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.001012/0.001012, allocations: 181.2 kB / 487 MB, free: 5.418 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.138/1.138, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008503/0.0008503, allocations: 84.72 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4275/0.4283, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.6179, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/1.174, allocations: 220.4 MB / 1.421 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.174, allocations: 93.91 kB / 1.421 GB, free: 5.973 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.2619/1.436, allocations: 125.8 MB / 1.543 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.436, allocations: 8 kB / 1.543 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/1.447, allocations: 1.605 MB / 1.545 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/1.452, allocations: 2.103 MB / 1.547 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/1.452, allocations: 36 kB / 1.547 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/1.452, allocations: 71.91 kB / 1.547 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002716/1.455, allocations: 1.707 MB / 1.549 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/1.458, allocations: 2.101 MB / 1.551 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.458, allocations: 11.92 kB / 1.551 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.458, allocations: 4 kB / 1.551 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.84e-05/1.458, allocations: 94.28 kB / 1.551 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/1.472, allocations: 10.34 MB / 1.561 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/1.474, allocations: 1.439 MB / 1.563 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/1.475, allocations: 0.894 MB / 1.563 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/1.475, allocations: 12.72 kB / 1.563 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.475, allocations: 47.34 kB / 1.563 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/1.475, allocations: 0 / 1.563 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.01647/1.492, allocations: 6.987 MB / 1.57 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/1.492, allocations: 222.9 kB / 1.57 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.493, allocations: 0.8013 MB / 1.571 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.493, allocations: 29.7 kB / 1.571 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/1.493, allocations: 0.5277 MB / 1.572 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/1.494, allocations: 0.5002 MB / 1.572 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.494, allocations: 4 kB / 1.572 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.494, allocations: 361.9 kB / 1.573 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/1.495, allocations: 1.144 MB / 1.574 GB, free: 5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/1.497, allocations: 1.404 MB / 1.575 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/1.499, allocations: 1.306 MB / 1.576 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.499, allocations: 0 / 1.576 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01017/1.509, allocations: 4.515 MB / 1.581 GB, free: 13.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.509, allocations: 4 kB / 1.581 GB, free: 13.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.509, allocations: 8 kB / 1.581 GB, free: 13.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009106/1.518, allocations: 2.085 MB / 1.583 GB, free: 11.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.52, allocations: 343.4 kB / 1.583 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02565/1.546, allocations: 20.9 MB / 1.604 GB, free: 5.344 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.549, allocations: 207.7 kB / 1.604 GB, free: 5.141 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/1.549, allocations: 63.97 kB / 1.604 GB, free: 5.078 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004114/1.549, allocations: 132.5 kB / 1.604 GB, free: 4.941 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/1.55, allocations: 162.1 kB / 1.604 GB, free: 4.781 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.561, allocations: 4.649 MB / 1.609 GB, free: 96 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.561, allocations: 12 kB / 1.609 GB, free: 84 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.491e-05/1.561, allocations: 24 kB / 1.609 GB, free: 60 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.561, allocations: 7.969 kB / 1.609 GB, free: 52 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.574, allocations: 6.646 MB / 1.615 GB, free: 9.301 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.574, allocations: 4 kB / 1.615 GB, free: 9.297 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.576, allocations: 283.9 kB / 1.615 GB, free: 9.02 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007685/1.584, allocations: 1.941 MB / 1.617 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.584, allocations: 19.97 kB / 1.617 GB, free: 7.039 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/1.608, allocations: 19.99 MB / 1.637 GB, free: 2.125 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.608, allocations: 4 kB / 1.637 GB, free: 2.121 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009346/1.617, allocations: 4.349 MB / 1.641 GB, free: 13.64 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009308/1.626, allocations: 4.769 MB / 1.646 GB, free: 8.742 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/1.627, allocations: 0.4951 MB / 1.646 GB, free: 8.227 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/1.628, allocations: 4 kB / 1.646 GB, free: 8.223 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.63, allocations: 211.8 kB / 1.647 GB, free: 8.016 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.63, allocations: 81.09 kB / 1.647 GB, free: 7.938 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.63, allocations: 59.95 kB / 1.647 GB, free: 7.879 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0009496/1.631, allocations: 0.6057 MB / 1.647 GB, free: 7.27 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002665/1.634, allocations: 0.5937 MB / 1.648 GB, free: 6.676 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/1.635, allocations: 183 kB / 1.648 GB, free: 6.484 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.006976/1.641, allocations: 4.043 MB / 1.652 GB, free: 2.359 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.642, allocations: 0 / 1.652 GB, free: 2.359 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004706/1.646, allocations: 2.639 MB / 1.655 GB, free: 15.64 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.648, allocations: 411.2 kB / 1.655 GB, free: 15.25 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/1.655, allocations: 3.242 MB / 1.658 GB, free: 11.92 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.657, allocations: 1.624 MB / 1.66 GB, free: 10.27 MB / 1.089 GB Notification: Performance of SimCode: time 3.3e-07/1.657, allocations: 0 / 1.66 GB, free: 10.27 MB / 1.089 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat