Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.369/1.369, allocations: 289.8 MB / 297 MB, free: 6.715 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.001014/0.001014, allocations: 185.2 kB / 366.3 MB, free: 2.008 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.043/1.043, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008258/0.0008259, allocations: 86.3 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1944/0.1953, allocations: 122.4 MB / 0.8591 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.6356, allocations: 116.3 MB / 0.9727 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.7896, allocations: 153.9 MB / 1.123 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.7898, allocations: 93.11 kB / 1.123 GB, free: 12.52 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.06013/0.85, allocations: 27.77 MB / 1.15 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.85, allocations: 8 kB / 1.15 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.8513, allocations: 183.1 kB / 1.15 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.8519, allocations: 398.5 kB / 1.151 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.8519, allocations: 8 kB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.852, allocations: 27.91 kB / 1.151 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005429/0.8525, allocations: 357.7 kB / 1.151 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.8533, allocations: 0.6429 MB / 1.152 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8534, allocations: 7.938 kB / 1.152 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.8534, allocations: 0 / 1.152 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.8535, allocations: 55.95 kB / 1.152 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.8563, allocations: 3.724 MB / 1.155 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.8569, allocations: 429.2 kB / 1.156 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.8571, allocations: 176.2 kB / 1.156 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.8572, allocations: 0 / 1.156 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.8572, allocations: 44 kB / 1.156 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.152e-06/0.8572, allocations: 4 kB / 1.156 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001362/0.8586, allocations: 0.8129 MB / 1.157 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.8586, allocations: 110.8 kB / 1.157 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.8589, allocations: 296.8 kB / 1.157 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.859, allocations: 25.7 kB / 1.157 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8591, allocations: 239.4 kB / 1.157 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.8592, allocations: 110.4 kB / 1.158 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.8592, allocations: 4 kB / 1.158 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8593, allocations: 350.8 kB / 1.158 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.8595, allocations: 164.9 kB / 1.158 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.8598, allocations: 336.7 kB / 1.158 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.8601, allocations: 219.7 kB / 1.159 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.8601, allocations: 4 kB / 1.159 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000875/0.861, allocations: 0.6006 MB / 1.159 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.861, allocations: 4 kB / 1.159 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.861, allocations: 12 kB / 1.159 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/0.8613, allocations: 86.52 kB / 1.159 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.8617, allocations: 107.8 kB / 1.159 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.8643, allocations: 3.863 MB / 1.163 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.8646, allocations: 16.98 kB / 1.163 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.8647, allocations: 20 kB / 1.163 GB, free: 2.246 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.8648, allocations: 132.8 kB / 1.163 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.8649, allocations: 43.44 kB / 1.163 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/0.8656, allocations: 0.491 MB / 1.164 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8657, allocations: 8 kB / 1.164 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8657, allocations: 0 / 1.164 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8657, allocations: 3.984 kB / 1.164 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.8671, allocations: 1.196 MB / 1.165 GB, free: 272 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8672, allocations: 4.844 kB / 1.165 GB, free: 268 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.8674, allocations: 59.91 kB / 1.165 GB, free: 208 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.8677, allocations: 90.73 kB / 1.165 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.8677, allocations: 4 kB / 1.165 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.8703, allocations: 3.845 MB / 1.169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8703, allocations: 0 / 1.169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008083/0.8711, allocations: 0.8958 MB / 1.17 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009085/0.872, allocations: 1.277 MB / 1.171 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.8722, allocations: 152.5 kB / 1.171 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.8723, allocations: 4 kB / 1.171 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.8726, allocations: 13.55 kB / 1.171 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.8726, allocations: 15.89 kB / 1.171 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.8727, allocations: 16 kB / 1.171 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.000195/0.8729, allocations: 235.2 kB / 1.171 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001193/0.8741, allocations: 116 kB / 1.172 GB, free: 8.941 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.8742, allocations: 104.1 kB / 1.172 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009467/0.8751, allocations: 0.7451 MB / 1.172 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8752, allocations: 0 / 1.172 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/0.8757, allocations: 0.5059 MB / 1.173 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.8764, allocations: 107.1 kB / 1.173 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.8775, allocations: 0.6556 MB / 1.174 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.878, allocations: 0.9049 MB / 1.175 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.878, allocations: 0 / 1.175 GB, free: 5.777 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)