Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 185.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9951/0.9951, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007277/0.0007278, allocations: 91.22 kB / 0.7325 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1695/0.1703, allocations: 121.5 MB / 0.8512 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.5585, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.7098, allocations: 164.5 MB / 1.124 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.71, allocations: 93.2 kB / 1.125 GB, free: 7.375 MB / 0.7292 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.06263/0.7727, allocations: 28.43 MB / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.7727, allocations: 11.94 kB / 1.152 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.7739, allocations: 175.1 kB / 1.152 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.7744, allocations: 367.6 kB / 1.153 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.7744, allocations: 17.56 kB / 1.153 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.7745, allocations: 31.91 kB / 1.153 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007224/0.7752, allocations: 473.8 kB / 1.153 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.7761, allocations: 0.7255 MB / 1.154 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.7761, allocations: 11.92 kB / 1.154 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.7762, allocations: 4 kB / 1.154 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.7762, allocations: 48.62 kB / 1.154 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.7796, allocations: 4.513 MB / 1.158 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.7802, allocations: 433.9 kB / 1.159 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.7805, allocations: 253.5 kB / 1.159 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.7805, allocations: 8.531 kB / 1.159 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7806, allocations: 34.5 kB / 1.159 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.7806, allocations: 0 / 1.159 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.0009464/0.7815, allocations: 0.6196 MB / 1.16 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.7816, allocations: 85.2 kB / 1.16 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.7818, allocations: 281.9 kB / 1.16 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.7819, allocations: 25.7 kB / 1.16 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.782, allocations: 266.9 kB / 1.16 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.7821, allocations: 118.3 kB / 1.161 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.7821, allocations: 0 / 1.161 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7822, allocations: 350.8 kB / 1.161 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.7825, allocations: 213.2 kB / 1.161 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.7829, allocations: 444.4 kB / 1.162 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.7833, allocations: 286.8 kB / 1.162 GB, free: 428 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7833, allocations: 0 / 1.162 GB, free: 428 kB / 0.7605 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009018/0.7842, allocations: 0.6725 MB / 1.162 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007942/0.785, allocations: 2.781 MB / 1.165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.785, allocations: 8 kB / 1.165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7851, allocations: 16 kB / 1.165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.7857, allocations: 153.6 kB / 1.165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.7858, allocations: 19.92 kB / 1.165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.7862, allocations: 59.7 kB / 1.165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.7863, allocations: 24 kB / 1.165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.7863, allocations: 5.25 kB / 1.165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006694/0.787, allocations: 483.9 kB / 1.166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.787, allocations: 8.156 kB / 1.166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.787, allocations: 16 kB / 1.166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.7875, allocations: 143.8 kB / 1.166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7876, allocations: 19.92 kB / 1.166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.7879, allocations: 43.81 kB / 1.166 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.7879, allocations: 24 kB / 1.166 GB, free: 11.74 MB / 0.7761 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.0001144/0.7881, allocations: 128.6 kB / 1.166 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.7881, allocations: 40.94 kB / 1.166 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007273/0.7889, allocations: 0.5216 MB / 1.167 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7889, allocations: 4 kB / 1.167 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7889, allocations: 3.938 kB / 1.167 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7889, allocations: 0 / 1.167 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.7909, allocations: 1.495 MB / 1.168 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.7909, allocations: 4.469 kB / 1.168 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.7915, allocations: 103.8 kB / 1.168 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7915, allocations: 8 kB / 1.168 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.7915, allocations: 4 kB / 1.168 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.7915, allocations: 11.92 kB / 1.168 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7915, allocations: 8 kB / 1.168 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007722/0.7923, allocations: 0.9146 MB / 1.169 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008752/0.7932, allocations: 1.292 MB / 1.171 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.7934, allocations: 168.5 kB / 1.171 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.7935, allocations: 5.688 kB / 1.171 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.7939, allocations: 39.95 kB / 1.171 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.794, allocations: 35.81 kB / 1.171 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.794, allocations: 16 kB / 1.171 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001781/0.7942, allocations: 216.6 kB / 1.171 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001847/0.796, allocations: 180.1 kB / 1.171 GB, free: 6.141 MB / 0.7761 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.0001507/0.7962, allocations: 118.9 kB / 1.171 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.7972, allocations: 0.7996 MB / 1.172 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7972, allocations: 2.5 kB / 1.172 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.7976, allocations: 251.6 kB / 1.172 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.7981, allocations: 98.11 kB / 1.172 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.7996, allocations: 0.8218 MB / 1.173 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006068/0.8002, allocations: 0.9253 MB / 1.174 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of SimCode: time 2.91e-07/0.8002, allocations: 0 / 1.174 GB, free: 3.035 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)