Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009366/0.0009366, allocations: 181.3 kB / 487 MB, free: 5.344 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.7819 GB, free: 1.371 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.0008424/0.0008424, allocations: 90.69 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4039/0.4048, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.5861, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/1.1, allocations: 173.1 MB / 1.374 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/1.1, allocations: 97.39 kB / 1.374 GB, free: 3.238 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.243/1.343, allocations: 113.8 MB / 1.486 GB, free: 324 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.343, allocations: 12.48 kB / 1.486 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/1.348, allocations: 0.6183 MB / 1.486 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.35, allocations: 0.8881 MB / 1.487 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/1.35, allocations: 43.94 kB / 1.487 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.35, allocations: 79.91 kB / 1.487 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002157/1.352, allocations: 1.399 MB / 1.489 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.355, allocations: 2.161 MB / 1.491 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/1.355, allocations: 7.938 kB / 1.491 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/1.355, allocations: 16 kB / 1.491 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/1.355, allocations: 154.3 kB / 1.491 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/1.366, allocations: 12.24 MB / 1.503 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/1.368, allocations: 1.484 MB / 1.504 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/1.368, allocations: 0.5972 MB / 1.505 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/1.368, allocations: 102.1 kB / 1.505 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.368, allocations: 43.56 kB / 1.505 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 2.404e-06/1.369, allocations: 4 kB / 1.505 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.004265/1.373, allocations: 2.465 MB / 1.507 GB, free: 8.656 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.373, allocations: 64.41 kB / 1.507 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/1.374, allocations: 0.6561 MB / 1.508 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/1.374, allocations: 25.7 kB / 1.508 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/1.374, allocations: 0.6065 MB / 1.509 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/1.374, allocations: 366.6 kB / 1.509 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/1.374, allocations: 4 kB / 1.509 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.374, allocations: 365.9 kB / 1.509 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/1.375, allocations: 0.5818 MB / 1.51 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.376, allocations: 1.005 MB / 1.511 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/1.378, allocations: 0.8771 MB / 1.512 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.378, allocations: 7.906 kB / 1.512 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003381/1.381, allocations: 2.039 MB / 1.514 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.381, allocations: 10.34 kB / 1.514 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.381, allocations: 12 kB / 1.514 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/1.382, allocations: 259.2 kB / 1.514 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.383, allocations: 331.5 kB / 1.514 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006839/1.39, allocations: 10.28 MB / 1.524 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/1.391, allocations: 59.92 kB / 1.525 GB, free: 5.914 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.391, allocations: 67.98 kB / 1.525 GB, free: 5.848 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002049/1.391, allocations: 148.6 kB / 1.525 GB, free: 5.695 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/1.391, allocations: 122.5 kB / 1.525 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/1.394, allocations: 1.708 MB / 1.526 GB, free: 3.828 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.394, allocations: 15.91 kB / 1.527 GB, free: 3.812 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.394, allocations: 4 kB / 1.527 GB, free: 3.809 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.394, allocations: 3.984 kB / 1.527 GB, free: 3.805 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/1.399, allocations: 3.115 MB / 1.53 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.399, allocations: 8 kB / 1.53 GB, free: 0.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/1.4, allocations: 195.7 kB / 1.53 GB, free: 360 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006526/1.4, allocations: 246.9 kB / 1.53 GB, free: 88 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/1.401, allocations: 12 kB / 1.53 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006728/1.407, allocations: 10.27 MB / 1.54 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.407, allocations: 8 kB / 1.54 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002702/1.41, allocations: 2.093 MB / 1.542 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002844/1.413, allocations: 2.487 MB / 1.545 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/1.413, allocations: 315.5 kB / 1.545 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.414, allocations: 11.98 kB / 1.545 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/1.414, allocations: 47.94 kB / 1.545 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.414, allocations: 64.59 kB / 1.545 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/1.414, allocations: 36 kB / 1.545 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0005524/1.415, allocations: 0.4939 MB / 1.545 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00173/1.417, allocations: 355.9 kB / 1.546 GB, free: 14.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002071/1.417, allocations: 138.9 kB / 1.546 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002752/1.42, allocations: 2.317 MB / 1.548 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.42, allocations: 8.062 kB / 1.548 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/1.421, allocations: 1.525 MB / 1.55 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.423, allocations: 271.8 kB / 1.55 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/1.426, allocations: 2.152 MB / 1.552 GB, free: 7.812 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.427, allocations: 1.445 MB / 1.553 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of SimCode: time 2.7e-07/1.427, allocations: 0 / 1.553 GB, free: 6.336 MB / 0.9792 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat