Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.431/1.431, allocations: 289.8 MB / 297.1 MB, free: 8.977 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.001007/0.001007, allocations: 188 kB / 366.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 11.5 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 84.19 kB / 0.7396 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3635/0.3643, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.5169, allocations: 116.3 MB / 0.9727 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.9622, allocations: 165.5 MB / 1.134 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9625, allocations: 92.44 kB / 1.134 GB, free: 14.95 MB / 0.6823 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.05818/1.021, allocations: 28.43 MB / 1.162 GB, free: 11.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/1.021, allocations: 8 kB / 1.162 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.022, allocations: 179.1 kB / 1.162 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/1.023, allocations: 367.9 kB / 1.163 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.023, allocations: 16 kB / 1.163 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/1.023, allocations: 30.75 kB / 1.163 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000731/1.023, allocations: 471.3 kB / 1.163 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009148/1.024, allocations: 0.7284 MB / 1.164 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.024, allocations: 7.938 kB / 1.164 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/1.024, allocations: 4 kB / 1.164 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/1.024, allocations: 56.23 kB / 1.164 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/1.028, allocations: 4.5 MB / 1.168 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/1.029, allocations: 438 kB / 1.169 GB, free: 4.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/1.029, allocations: 266 kB / 1.169 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.029, allocations: 8.516 kB / 1.169 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.029, allocations: 37.94 kB / 1.169 GB, free: 4.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/1.029, allocations: 0 / 1.169 GB, free: 4.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.000984/1.03, allocations: 0.6102 MB / 1.17 GB, free: 3.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.03, allocations: 85.09 kB / 1.17 GB, free: 3.789 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/1.03, allocations: 282 kB / 1.17 GB, free: 3.559 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/1.03, allocations: 33.64 kB / 1.17 GB, free: 3.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.031, allocations: 267 kB / 1.17 GB, free: 3.273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/1.031, allocations: 118.5 kB / 1.17 GB, free: 3.172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/1.031, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.031, allocations: 348.2 kB / 1.171 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/1.031, allocations: 218.2 kB / 1.171 GB, free: 2.695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/1.031, allocations: 438.7 kB / 1.171 GB, free: 2.258 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/1.032, allocations: 289.4 kB / 1.172 GB, free: 2.055 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.032, allocations: 0 / 1.172 GB, free: 2.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009156/1.033, allocations: 0.67 MB / 1.172 GB, free: 1.527 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000882/1.034, allocations: 2.778 MB / 1.175 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.034, allocations: 11.98 kB / 1.175 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.034, allocations: 12 kB / 1.175 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/1.034, allocations: 159.2 kB / 1.175 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.034, allocations: 15.94 kB / 1.175 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/1.035, allocations: 55.7 kB / 1.175 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/1.035, allocations: 34.86 kB / 1.175 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/1.035, allocations: 4 kB / 1.175 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006545/1.036, allocations: 488.8 kB / 1.176 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.036, allocations: 8 kB / 1.176 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.036, allocations: 12.88 kB / 1.176 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/1.036, allocations: 143.7 kB / 1.176 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.036, allocations: 15.92 kB / 1.176 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/1.037, allocations: 47.81 kB / 1.176 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/1.037, allocations: 26.62 kB / 1.176 GB, free: 13.69 MB / 0.7136 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.0001089/1.037, allocations: 120.7 kB / 1.176 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/1.037, allocations: 43.52 kB / 1.176 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/1.038, allocations: 0.521 MB / 1.177 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.038, allocations: 7.906 kB / 1.177 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.038, allocations: 7.938 kB / 1.177 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.038, allocations: 3.984 kB / 1.177 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.04, allocations: 1.486 MB / 1.178 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.04, allocations: 4 kB / 1.178 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/1.04, allocations: 107.8 kB / 1.178 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.04, allocations: 8 kB / 1.178 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.04, allocations: 4 kB / 1.178 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.04, allocations: 4 kB / 1.178 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.04, allocations: 7.938 kB / 1.178 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00083/1.041, allocations: 0.9146 MB / 1.179 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009691/1.042, allocations: 1.287 MB / 1.18 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.042, allocations: 167.2 kB / 1.181 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/1.042, allocations: 12 kB / 1.181 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/1.043, allocations: 39.95 kB / 1.181 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/1.043, allocations: 31.56 kB / 1.181 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/1.043, allocations: 12 kB / 1.181 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001851/1.043, allocations: 218.9 kB / 1.181 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002142/1.045, allocations: 190.8 kB / 1.181 GB, free: 8.824 MB / 0.7136 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.0001427/1.045, allocations: 111.1 kB / 1.181 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.046, allocations: 0.8118 MB / 1.182 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.046, allocations: 0 / 1.182 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/1.047, allocations: 248.4 kB / 1.182 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/1.047, allocations: 91.39 kB / 1.182 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/1.049, allocations: 0.8215 MB / 1.183 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/1.049, allocations: 0.9313 MB / 1.184 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/1.049, allocations: 0 / 1.184 GB, free: 6.109 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)