Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.835/1.835, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.000995/0.000995, allocations: 188.7 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.14/1.14, 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.0008173/0.0008173, allocations: 92.67 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.427/0.4278, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.6143, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/1.125, allocations: 164.7 MB / 1.366 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/1.125, allocations: 91.06 kB / 1.366 GB, free: 11.49 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.02893/1.154, allocations: 14.76 MB / 1.381 GB, free: 15.06 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/1.154, allocations: 8 kB / 1.381 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/1.155, allocations: 83.45 kB / 1.381 GB, free: 14.97 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/1.155, allocations: 241.1 kB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/1.155, allocations: 4 kB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/1.155, allocations: 12 kB / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002874/1.155, allocations: 186.6 kB / 1.381 GB, free: 14.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/1.156, allocations: 267 kB / 1.381 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.156, allocations: 3.938 kB / 1.381 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/1.156, allocations: 3.906 kB / 1.381 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.156, allocations: 27.97 kB / 1.381 GB, free: 14.29 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/1.157, allocations: 1.465 MB / 1.383 GB, free: 12.82 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/1.158, allocations: 222.7 kB / 1.383 GB, free: 12.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/1.158, allocations: 117.3 kB / 1.383 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.158, allocations: 4 kB / 1.383 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.158, allocations: 38.38 kB / 1.383 GB, free: 12.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/1.158, allocations: 0 / 1.383 GB, free: 12.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0003917/1.158, allocations: 229.9 kB / 1.384 GB, free: 12.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.158, allocations: 81.14 kB / 1.384 GB, free: 12.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.158, allocations: 154.5 kB / 1.384 GB, free: 12.06 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/1.158, allocations: 25.7 kB / 1.384 GB, free: 12.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/1.158, allocations: 138 kB / 1.384 GB, free: 11.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/1.158, allocations: 46.89 kB / 1.384 GB, free: 11.86 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/1.158, allocations: 4 kB / 1.384 GB, free: 11.86 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.159, allocations: 321.9 kB / 1.384 GB, free: 11.54 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.159, allocations: 94.64 kB / 1.384 GB, free: 11.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.159, allocations: 151.9 kB / 1.384 GB, free: 11.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/1.159, allocations: 110.7 kB / 1.385 GB, free: 11.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.159, allocations: 4 kB / 1.385 GB, free: 11.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003784/1.159, allocations: 267.7 kB / 1.385 GB, free: 11.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/1.16, allocations: 0.7099 MB / 1.386 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.16, allocations: 0 / 1.386 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.16, allocations: 4 kB / 1.386 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/1.16, allocations: 55.89 kB / 1.386 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.16, allocations: 4 kB / 1.386 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.16, allocations: 27.83 kB / 1.386 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/1.16, allocations: 8 kB / 1.386 GB, free: 10.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/1.16, allocations: 4 kB / 1.386 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002742/1.161, allocations: 192.3 kB / 1.386 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/1.161, allocations: 0 / 1.386 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-06/1.161, allocations: 8.156 kB / 1.386 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.161, allocations: 59.78 kB / 1.386 GB, free: 9.996 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.161, allocations: 7.984 kB / 1.386 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.161, allocations: 23.83 kB / 1.386 GB, free: 9.965 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.161, allocations: 4 kB / 1.386 GB, free: 9.961 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.014e-05/1.161, allocations: 120.6 kB / 1.386 GB, free: 9.836 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/1.161, allocations: 15.81 kB / 1.386 GB, free: 9.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/1.161, allocations: 238.6 kB / 1.386 GB, free: 9.645 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.162, allocations: 4 kB / 1.386 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.162, allocations: 3.938 kB / 1.386 GB, free: 9.637 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.162, allocations: 3.984 kB / 1.386 GB, free: 9.633 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/1.162, allocations: 0.6053 MB / 1.387 GB, free: 9.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.162, allocations: 8 kB / 1.387 GB, free: 9.051 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.163, allocations: 47.89 kB / 1.387 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.163, allocations: 0 / 1.387 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.163, allocations: 4 kB / 1.387 GB, free: 9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.163, allocations: 4 kB / 1.387 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.163, allocations: 4.125 kB / 1.387 GB, free: 8.992 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004256/1.163, allocations: 0.4916 MB / 1.387 GB, free: 8.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004758/1.164, allocations: 0.8414 MB / 1.388 GB, free: 7.652 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.164, allocations: 111.5 kB / 1.388 GB, free: 7.531 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/1.164, allocations: 4 kB / 1.388 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/1.164, allocations: 19.97 kB / 1.388 GB, free: 7.508 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/1.164, allocations: 11.98 kB / 1.388 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.164, allocations: 11.56 kB / 1.388 GB, free: 7.488 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.754e-05/1.164, allocations: 117.1 kB / 1.389 GB, free: 7.387 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001639/1.166, allocations: 90.62 kB / 1.389 GB, free: 7.301 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001161/1.166, allocations: 108.4 kB / 1.389 GB, free: 7.188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004344/1.166, allocations: 334.1 kB / 1.389 GB, free: 6.953 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.166, allocations: 0 / 1.389 GB, free: 6.953 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.166, allocations: 104.6 kB / 1.389 GB, free: 6.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/1.167, allocations: 35.75 kB / 1.389 GB, free: 6.844 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/1.167, allocations: 327.7 kB / 1.389 GB, free: 6.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/1.168, allocations: 0.7812 MB / 1.39 GB, free: 5.719 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.168, allocations: 3.938 kB / 1.39 GB, free: 5.715 MB / 0.823 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat does not exist to compare? outputFormat=mat