Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.113/2.113, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001627/0.001626, allocations: 185.2 kB / 360.3 MB, free: 7.508 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.622/1.622, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00122/0.00122, allocations: 78.23 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2393/0.2405, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.8164, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/1.044, allocations: 153.3 MB / 1.112 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.044, allocations: 89.06 kB / 1.113 GB, free: 3.441 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0793/1.124, allocations: 20.64 MB / 1.133 GB, free: 14.68 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.124, allocations: 12 kB / 1.133 GB, free: 14.67 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.125, allocations: 130.4 kB / 1.133 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/1.126, allocations: 391.1 kB / 1.133 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.126, allocations: 8 kB / 1.133 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/1.126, allocations: 23.91 kB / 1.133 GB, free: 14.09 MB / 0.7449 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000836/1.127, allocations: 293.3 kB / 1.134 GB, free: 13.8 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.128, allocations: 0.5399 MB / 1.134 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/1.128, allocations: 3.938 kB / 1.134 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/1.128, allocations: 7.938 kB / 1.134 GB, free: 13.15 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.745e-05/1.129, allocations: 36.62 kB / 1.134 GB, free: 13.12 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/1.133, allocations: 3.298 MB / 1.137 GB, free: 9.582 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/1.134, allocations: 290.8 kB / 1.138 GB, free: 9.285 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/1.134, allocations: 160.8 kB / 1.138 GB, free: 9.125 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/1.134, allocations: 0 / 1.138 GB, free: 9.125 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.134, allocations: 42.41 kB / 1.138 GB, free: 9.074 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/1.135, allocations: 3.938 kB / 1.138 GB, free: 9.07 MB / 0.7449 GB Notification: Performance of matching and sorting (n=27): time 0.002001/1.137, allocations: 0.5796 MB / 1.138 GB, free: 8.473 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.137, allocations: 55.64 kB / 1.138 GB, free: 8.406 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/1.137, allocations: 250 kB / 1.139 GB, free: 8.152 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/1.137, allocations: 25.7 kB / 1.139 GB, free: 8.121 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/1.137, allocations: 207.5 kB / 1.139 GB, free: 7.914 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.137, allocations: 98.58 kB / 1.139 GB, free: 7.816 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/1.137, allocations: 0 / 1.139 GB, free: 7.816 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.138, allocations: 346.8 kB / 1.139 GB, free: 7.469 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.138, allocations: 128.7 kB / 1.139 GB, free: 7.34 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/1.138, allocations: 252.5 kB / 1.14 GB, free: 7.039 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/1.139, allocations: 170.6 kB / 1.14 GB, free: 6.875 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.139, allocations: 0 / 1.14 GB, free: 6.875 MB / 0.7449 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001348/1.14, allocations: 487.3 kB / 1.14 GB, free: 6.383 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.14, allocations: 11.98 kB / 1.14 GB, free: 6.371 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.14, allocations: 6.344 kB / 1.14 GB, free: 6.367 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/1.141, allocations: 86.98 kB / 1.14 GB, free: 6.273 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/1.141, allocations: 79.89 kB / 1.14 GB, free: 6.195 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.141, allocations: 11.94 kB / 1.14 GB, free: 6.184 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/1.142, allocations: 21.28 kB / 1.14 GB, free: 6.164 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.142, allocations: 15.91 kB / 1.141 GB, free: 6.148 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.142, allocations: 124.3 kB / 1.141 GB, free: 6.023 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/1.142, allocations: 39.53 kB / 1.141 GB, free: 5.984 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.144, allocations: 412 kB / 1.141 GB, free: 5.562 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.144, allocations: 4 kB / 1.141 GB, free: 5.559 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.144, allocations: 0 / 1.141 GB, free: 5.559 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.144, allocations: 15.89 kB / 1.141 GB, free: 5.543 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/1.146, allocations: 0.8767 MB / 1.142 GB, free: 4.605 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.146, allocations: 0 / 1.142 GB, free: 4.605 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/1.146, allocations: 61.67 kB / 1.142 GB, free: 4.547 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/1.147, allocations: 78.52 kB / 1.142 GB, free: 4.461 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/1.147, allocations: 4 kB / 1.142 GB, free: 4.457 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.147, allocations: 0 / 1.142 GB, free: 4.457 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.147, allocations: 4 kB / 1.142 GB, free: 4.453 MB / 0.7449 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001179/1.148, allocations: 0.54 MB / 1.143 GB, free: 3.859 MB / 0.7449 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001333/1.149, allocations: 0.9271 MB / 1.144 GB, free: 2.875 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/1.15, allocations: 136.7 kB / 1.144 GB, free: 2.723 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/1.15, allocations: 7.906 kB / 1.144 GB, free: 2.715 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/1.15, allocations: 15.98 kB / 1.144 GB, free: 2.699 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.15, allocations: 15.95 kB / 1.144 GB, free: 2.684 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.15, allocations: 13.5 kB / 1.144 GB, free: 2.672 MB / 0.7449 GB Notification: Performance of sort global known variables: time 0.0002732/1.151, allocations: 192.6 kB / 1.144 GB, free: 2.488 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.00147/1.152, allocations: 87.94 kB / 1.144 GB, free: 2.402 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/1.152, allocations: 109.1 kB / 1.144 GB, free: 2.289 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.001087/1.153, allocations: 0.5844 MB / 1.145 GB, free: 1.641 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.153, allocations: 0 / 1.145 GB, free: 1.641 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/1.154, allocations: 426.5 kB / 1.145 GB, free: 1.16 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/1.155, allocations: 98.73 kB / 1.145 GB, free: 1.066 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.157, allocations: 0.51 MB / 1.146 GB, free: 0.5195 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007137/1.157, allocations: 0.8805 MB / 1.146 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/1.157, allocations: 0 / 1.146 GB, free: 15.61 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)