Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.152/2.152, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001587/0.001587, allocations: 181.2 kB / 360.3 MB, free: 7.551 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.663/1.663, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001444/0.001444, allocations: 97.12 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.243/0.2445, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.8021, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/1.029, allocations: 152.8 MB / 1.112 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/1.03, allocations: 93.39 kB / 1.112 GB, free: 3.973 MB / 0.7136 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.1117/1.141, allocations: 27.77 MB / 1.139 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.141, allocations: 12.5 kB / 1.139 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/1.144, allocations: 176.6 kB / 1.139 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.145, allocations: 398.4 kB / 1.14 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/1.145, allocations: 12 kB / 1.14 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/1.145, allocations: 27.91 kB / 1.14 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001666/1.147, allocations: 361.6 kB / 1.14 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/1.149, allocations: 0.644 MB / 1.141 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/1.149, allocations: 7.922 kB / 1.141 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.149, allocations: 4 kB / 1.141 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/1.15, allocations: 51.95 kB / 1.141 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008016/1.158, allocations: 3.72 MB / 1.144 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.159, allocations: 429.8 kB / 1.145 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/1.16, allocations: 172.9 kB / 1.145 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/1.16, allocations: 4 kB / 1.145 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.16, allocations: 42.88 kB / 1.145 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 4.449e-06/1.16, allocations: 0 / 1.145 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.003538/1.164, allocations: 0.8148 MB / 1.146 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/1.164, allocations: 114.8 kB / 1.146 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/1.165, allocations: 292.8 kB / 1.146 GB, free: 332 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/1.165, allocations: 25.7 kB / 1.146 GB, free: 300 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/1.165, allocations: 243.4 kB / 1.146 GB, free: 52 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/1.165, allocations: 106.4 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/1.165, allocations: 4 kB / 1.147 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.166, allocations: 350.8 kB / 1.147 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/1.166, allocations: 164.9 kB / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/1.167, allocations: 335.8 kB / 1.147 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/1.168, allocations: 226.6 kB / 1.148 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.168, allocations: 0 / 1.148 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002706/1.171, allocations: 0.5982 MB / 1.148 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.171, allocations: 6.625 kB / 1.148 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.171, allocations: 8 kB / 1.148 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/1.172, allocations: 94.52 kB / 1.148 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.173, allocations: 105.6 kB / 1.148 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/1.18, allocations: 3.861 MB / 1.152 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/1.181, allocations: 15.98 kB / 1.152 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/1.181, allocations: 24.14 kB / 1.152 GB, free: 9.723 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.000252/1.181, allocations: 132.6 kB / 1.152 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/1.181, allocations: 47.44 kB / 1.152 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/1.184, allocations: 498.6 kB / 1.153 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/1.184, allocations: 8 kB / 1.153 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.184, allocations: 4 kB / 1.153 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.184, allocations: 3.984 kB / 1.153 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/1.188, allocations: 1.204 MB / 1.154 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.188, allocations: 0 / 1.154 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/1.189, allocations: 59.91 kB / 1.154 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/1.19, allocations: 94.73 kB / 1.154 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/1.19, allocations: 7.984 kB / 1.154 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006361/1.196, allocations: 3.838 MB / 1.158 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/1.196, allocations: 4.031 kB / 1.158 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002515/1.199, allocations: 0.8838 MB / 1.159 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002753/1.202, allocations: 1.276 MB / 1.16 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/1.202, allocations: 156.5 kB / 1.16 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.202, allocations: 4 kB / 1.16 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/1.203, allocations: 7.984 kB / 1.16 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.204, allocations: 27.88 kB / 1.16 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/1.204, allocations: 12 kB / 1.16 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006068/1.204, allocations: 231.2 kB / 1.16 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002947/1.207, allocations: 108 kB / 1.161 GB, free: 440 kB / 0.7605 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.000288/1.208, allocations: 112.7 kB / 1.161 GB, free: 316 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003107/1.211, allocations: 0.7487 MB / 1.161 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.211, allocations: 0 / 1.161 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.212, allocations: 0.5078 MB / 1.162 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.213, allocations: 108.7 kB / 1.162 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/1.215, allocations: 0.6634 MB / 1.163 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/1.216, allocations: 0.9016 MB / 1.164 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.463e-06/1.216, allocations: 0 / 1.164 GB, free: 13.25 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)