Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.832/1.832, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009342/0.0009343, allocations: 185.2 kB / 487 MB, free: 5.32 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.0008474/0.0008473, allocations: 96.16 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4343/0.4352, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.6266, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5414/1.168, allocations: 176 MB / 1.377 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.168, allocations: 91.88 kB / 1.377 GB, free: 0.7383 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.06797/1.236, allocations: 31.11 MB / 1.408 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/1.236, allocations: 11.94 kB / 1.408 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.238, allocations: 175.1 kB / 1.408 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.238, allocations: 367.6 kB / 1.408 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/1.238, allocations: 12 kB / 1.408 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/1.238, allocations: 30.91 kB / 1.408 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007547/1.239, allocations: 472.1 kB / 1.409 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/1.24, allocations: 0.7235 MB / 1.409 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.24, allocations: 7.938 kB / 1.409 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/1.24, allocations: 8 kB / 1.409 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/1.24, allocations: 51.3 kB / 1.409 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/1.243, allocations: 4.527 MB / 1.414 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/1.244, allocations: 422.2 kB / 1.414 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/1.244, allocations: 253.2 kB / 1.415 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/1.244, allocations: 8.734 kB / 1.415 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.245, allocations: 38.66 kB / 1.415 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/1.245, allocations: 4 kB / 1.415 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0009918/1.246, allocations: 0.618 MB / 1.415 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.246, allocations: 88.66 kB / 1.415 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/1.246, allocations: 283.9 kB / 1.416 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/1.246, allocations: 25.7 kB / 1.416 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/1.246, allocations: 266.5 kB / 1.416 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/1.246, allocations: 119.8 kB / 1.416 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/1.246, allocations: 0 / 1.416 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.246, allocations: 344.5 kB / 1.416 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/1.247, allocations: 219 kB / 1.416 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/1.247, allocations: 438.5 kB / 1.417 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/1.247, allocations: 290.4 kB / 1.417 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.247, allocations: 3.984 kB / 1.417 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008905/1.248, allocations: 0.6653 MB / 1.418 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007889/1.249, allocations: 2.785 MB / 1.421 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.249, allocations: 8 kB / 1.421 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.249, allocations: 12 kB / 1.421 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.25, allocations: 158.8 kB / 1.421 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.25, allocations: 11.94 kB / 1.421 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/1.25, allocations: 59.7 kB / 1.421 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/1.25, allocations: 34.36 kB / 1.421 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/1.25, allocations: 4 kB / 1.421 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006505/1.251, allocations: 485.7 kB / 1.421 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.251, allocations: 8.969 kB / 1.421 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.251, allocations: 12 kB / 1.421 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/1.252, allocations: 146.9 kB / 1.421 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.252, allocations: 15.94 kB / 1.421 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/1.252, allocations: 43.81 kB / 1.422 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/1.252, allocations: 23.5 kB / 1.422 GB, free: 8.969 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.252, allocations: 131.8 kB / 1.422 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/1.252, allocations: 39.53 kB / 1.422 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/1.253, allocations: 0.5155 MB / 1.422 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.253, allocations: 8 kB / 1.422 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.253, allocations: 0 / 1.422 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.253, allocations: 7.984 kB / 1.422 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.255, allocations: 1.482 MB / 1.424 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.255, allocations: 4 kB / 1.424 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/1.256, allocations: 115.6 kB / 1.424 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.256, allocations: 4 kB / 1.424 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.256, allocations: 4 kB / 1.424 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.256, allocations: 11.94 kB / 1.424 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.256, allocations: 4 kB / 1.424 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008206/1.256, allocations: 0.9187 MB / 1.425 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008719/1.257, allocations: 1.299 MB / 1.426 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/1.258, allocations: 160.7 kB / 1.426 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/1.258, allocations: 4 kB / 1.426 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/1.258, allocations: 39.95 kB / 1.426 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/1.258, allocations: 34.69 kB / 1.426 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.258, allocations: 12 kB / 1.426 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001852/1.258, allocations: 226.4 kB / 1.426 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001882/1.26, allocations: 178.1 kB / 1.427 GB, free: 4.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/1.26, allocations: 116.4 kB / 1.427 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.261, allocations: 0.805 MB / 1.427 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.261, allocations: 0 / 1.427 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/1.262, allocations: 255.6 kB / 1.428 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/1.262, allocations: 101.2 kB / 1.428 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/1.264, allocations: 0.8166 MB / 1.429 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/1.264, allocations: 0.9277 MB / 1.43 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.264, allocations: 0 / 1.43 GB, free: 1.375 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat