Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.0/package.mo): time 2.17/2.17, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001606/0.001606, allocations: 185.2 kB / 360.3 MB, free: 7.574 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.652/1.652, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001211/0.001211, allocations: 91.41 kB / 0.7317 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2426/0.2439, allocations: 121.4 MB / 0.8502 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.7941, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/1.039, allocations: 166.1 MB / 1.125 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.04, allocations: 93.67 kB / 1.125 GB, free: 6.684 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.1148/1.155, allocations: 28.72 MB / 1.153 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.155, allocations: 8 kB / 1.153 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.157, allocations: 179.1 kB / 1.153 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/1.157, allocations: 369.5 kB / 1.154 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.157, allocations: 12 kB / 1.154 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.158, allocations: 28 kB / 1.154 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001406/1.159, allocations: 485.8 kB / 1.154 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.161, allocations: 0.725 MB / 1.155 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.161, allocations: 11.84 kB / 1.155 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/1.161, allocations: 5.875 kB / 1.155 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.436e-05/1.161, allocations: 60.73 kB / 1.155 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006139/1.167, allocations: 4.396 MB / 1.159 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.169, allocations: 0.5186 MB / 1.16 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/1.169, allocations: 272.6 kB / 1.16 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/1.169, allocations: 7.984 kB / 1.16 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.169, allocations: 42.5 kB / 1.16 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=38): time 4.038e-06/1.169, allocations: 0 / 1.16 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39): time 0.001957/1.171, allocations: 0.6396 MB / 1.161 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.171, allocations: 89.05 kB / 1.161 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/1.172, allocations: 273.9 kB / 1.161 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/1.172, allocations: 25.7 kB / 1.161 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/1.172, allocations: 255.8 kB / 1.161 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/1.172, allocations: 138 kB / 1.161 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.172, allocations: 4.094 kB / 1.161 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.173, allocations: 346.8 kB / 1.162 GB, free: 448 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/1.173, allocations: 225.2 kB / 1.162 GB, free: 224 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/1.174, allocations: 431.7 kB / 1.162 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/1.175, allocations: 287.8 kB / 1.163 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.175, allocations: 4 kB / 1.163 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001779/1.177, allocations: 0.6759 MB / 1.163 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.178, allocations: 2.616 MB / 1.166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.178, allocations: 4 kB / 1.166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.178, allocations: 15.94 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.18, allocations: 171.8 kB / 1.166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/1.18, allocations: 22.34 kB / 1.166 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/1.181, allocations: 59.8 kB / 1.166 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/1.181, allocations: 27.91 kB / 1.166 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.181, allocations: 4 kB / 1.166 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/1.182, allocations: 0.4895 MB / 1.167 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.182, allocations: 4 kB / 1.167 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.182, allocations: 12 kB / 1.167 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.184, allocations: 161.9 kB / 1.167 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.184, allocations: 19.92 kB / 1.167 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/1.184, allocations: 55.75 kB / 1.167 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/1.185, allocations: 24 kB / 1.167 GB, free: 10.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0002362/1.185, allocations: 132.5 kB / 1.167 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.185, allocations: 39.53 kB / 1.167 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.187, allocations: 0.564 MB / 1.168 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.187, allocations: 8 kB / 1.168 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.187, allocations: 0 / 1.168 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/1.187, allocations: 3.984 kB / 1.168 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/1.19, allocations: 1.303 MB / 1.169 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.19, allocations: 0 / 1.169 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.192, allocations: 139.8 kB / 1.169 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/1.192, allocations: 5.781 kB / 1.169 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/1.192, allocations: 4 kB / 1.169 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/1.192, allocations: 11.92 kB / 1.169 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.192, allocations: 0 / 1.169 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00159/1.193, allocations: 0.8061 MB / 1.17 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001707/1.195, allocations: 1.183 MB / 1.171 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/1.196, allocations: 176.4 kB / 1.171 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.196, allocations: 4 kB / 1.171 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/1.197, allocations: 48 kB / 1.171 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.197, allocations: 39.78 kB / 1.171 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/1.197, allocations: 15.94 kB / 1.171 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003491/1.197, allocations: 216.6 kB / 1.171 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002896/1.2, allocations: 184 kB / 1.172 GB, free: 5.742 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 42 * 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.0002098/1.2, allocations: 115.2 kB / 1.172 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.202, allocations: 0.8357 MB / 1.173 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.202, allocations: 0 / 1.173 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/1.203, allocations: 268.9 kB / 1.173 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.204, allocations: 95.45 kB / 1.173 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/1.207, allocations: 0.8234 MB / 1.174 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.208, allocations: 0.9414 MB / 1.175 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/1.208, allocations: 0 / 1.175 GB, free: 2.602 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)