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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [: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.762/1.762, 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.0009701/0.0009701, allocations: 185.3 kB / 487 MB, free: 5.359 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0008407/0.0008407, allocations: 102.1 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.75e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.675, allocations: 176 MB / 1.377 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.6753, allocations: 93.2 kB / 1.377 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.06404/0.7393, allocations: 30.38 MB / 1.407 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.7394, allocations: 16 kB / 1.407 GB, free: 7.281 MB / 0.8386 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.001136/0.7405, allocations: 0.7166 MB / 1.408 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.7406, allocations: 11.97 kB / 1.408 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.7417, allocations: 179.1 kB / 1.408 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.7422, allocations: 362.7 kB / 1.408 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.7422, allocations: 16 kB / 1.408 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.7423, allocations: 23.91 kB / 1.408 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000692/0.743, allocations: 479.5 kB / 1.409 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.7439, allocations: 0.723 MB / 1.409 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.7439, allocations: 7.938 kB / 1.409 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.744, allocations: 4 kB / 1.409 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.744, allocations: 51.94 kB / 1.409 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.7472, allocations: 4.515 MB / 1.414 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.7478, allocations: 433.2 kB / 1.414 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.7482, allocations: 253.3 kB / 1.414 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7482, allocations: 5.047 kB / 1.414 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.7482, allocations: 45.83 kB / 1.414 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.7483, allocations: 0 / 1.414 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0009447/0.7492, allocations: 0.6144 MB / 1.415 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.7492, allocations: 87.84 kB / 1.415 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.7495, allocations: 279.4 kB / 1.415 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.7495, allocations: 33.7 kB / 1.415 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.7497, allocations: 269.5 kB / 1.416 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.7497, allocations: 117.9 kB / 1.416 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.7498, allocations: 0 / 1.416 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7499, allocations: 343.2 kB / 1.416 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.7501, allocations: 220.1 kB / 1.416 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.7505, allocations: 440.5 kB / 1.417 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.7509, allocations: 292.8 kB / 1.417 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7509, allocations: 0 / 1.417 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008675/0.7518, allocations: 0.6654 MB / 1.418 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000757/0.7525, allocations: 2.784 MB / 1.42 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7525, allocations: 11.94 kB / 1.42 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7526, allocations: 11.94 kB / 1.42 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.7532, allocations: 159.1 kB / 1.421 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.7533, allocations: 23.91 kB / 1.421 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.7537, allocations: 55.7 kB / 1.421 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.7538, allocations: 31.5 kB / 1.421 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.7538, allocations: 4 kB / 1.421 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006249/0.7544, allocations: 482.9 kB / 1.421 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7544, allocations: 8 kB / 1.421 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.7544, allocations: 12.91 kB / 1.421 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.755, allocations: 150.2 kB / 1.421 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.755, allocations: 11.94 kB / 1.421 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.7553, allocations: 47.81 kB / 1.421 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.7553, allocations: 27.36 kB / 1.421 GB, free: 9.066 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.0001072/0.7555, allocations: 127 kB / 1.422 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7556, allocations: 39.53 kB / 1.422 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.7563, allocations: 0.5187 MB / 1.422 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7563, allocations: 7.984 kB / 1.422 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7563, allocations: 4 kB / 1.422 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7563, allocations: 0 / 1.422 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.7582, allocations: 1.484 MB / 1.424 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7582, allocations: 4 kB / 1.424 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.7588, allocations: 108.3 kB / 1.424 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.7588, allocations: 8 kB / 1.424 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.7588, allocations: 4 kB / 1.424 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7588, allocations: 7.938 kB / 1.424 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7588, allocations: 4 kB / 1.424 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000756/0.7596, allocations: 0.9217 MB / 1.425 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.7598, allocations: 166.4 kB / 1.425 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.7599, allocations: 8 kB / 1.425 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.7603, allocations: 39.14 kB / 1.425 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.7604, allocations: 34.56 kB / 1.425 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.7604, allocations: 15.44 kB / 1.425 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001695/0.7606, allocations: 214 kB / 1.425 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007336/0.7613, allocations: 180.1 kB / 1.425 GB, free: 5.508 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.0001353/0.7614, allocations: 112.5 kB / 1.425 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009785/0.7624, allocations: 0.8044 MB / 1.426 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7624, allocations: 5.438 kB / 1.426 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.7628, allocations: 248.9 kB / 1.426 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.7633, allocations: 100.8 kB / 1.426 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.7646, allocations: 0.8128 MB / 1.427 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.7652, allocations: 0.9275 MB / 1.428 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/0.7652, allocations: 0 / 1.428 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of Templates: time 0.01123/0.7764, allocations: 7.687 MB / 1.436 GB, free: 11.17 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (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 & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)