Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.1-maint.8.0.x/package.mo): time 1.292/1.292, allocations: 285.5 MB / 292.8 MB, free: 0.707 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009341/0.000934, allocations: 179.2 kB / 361.1 MB, free: 15.29 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 5.848 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007673/0.0007673, allocations: 85.12 kB / 0.7325 GB, free: 47.25 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.174/0.1748, allocations: 121.5 MB / 0.8512 GB, free: 12.68 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.5943, allocations: 115.3 MB / 0.9638 GB, free: 85.6 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.7385, allocations: 153 MB / 1.113 GB, free: 12.39 MB / 0.7215 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.7387, allocations: 95.92 kB / 1.113 GB, free: 12.29 MB / 0.7215 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06263/0.8014, allocations: 29.83 MB / 1.142 GB, free: 14.28 MB / 0.7528 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.8014, allocations: 8.5 kB / 1.142 GB, free: 14.27 MB / 0.7528 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.8027, allocations: 202.8 kB / 1.143 GB, free: 14.07 MB / 0.7528 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.8033, allocations: 492.4 kB / 1.143 GB, free: 13.55 MB / 0.7528 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.8034, allocations: 16 kB / 1.143 GB, free: 13.53 MB / 0.7528 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.8034, allocations: 35.84 kB / 1.143 GB, free: 13.5 MB / 0.7528 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005989/0.804, allocations: 426.2 kB / 1.144 GB, free: 13.08 MB / 0.7528 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.8049, allocations: 0.8654 MB / 1.144 GB, free: 12.04 MB / 0.7528 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8049, allocations: 7.938 kB / 1.144 GB, free: 12.03 MB / 0.7528 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.805, allocations: 7.984 kB / 1.144 GB, free: 12.02 MB / 0.7528 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.8051, allocations: 57.86 kB / 1.144 GB, free: 11.96 MB / 0.7528 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.8086, allocations: 5.559 MB / 1.15 GB, free: 6.02 MB / 0.7528 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.8091, allocations: 434.5 kB / 1.15 GB, free: 5.59 MB / 0.7528 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.8094, allocations: 224.3 kB / 1.15 GB, free: 5.371 MB / 0.7528 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.8094, allocations: 4 kB / 1.15 GB, free: 5.367 MB / 0.7528 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.8094, allocations: 34.56 kB / 1.151 GB, free: 5.324 MB / 0.7528 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.8095, allocations: 0 / 1.151 GB, free: 5.324 MB / 0.7528 GB Notification: Performance of matching and sorting (n=33): time 0.00134/0.8108, allocations: 0.8269 MB / 1.151 GB, free: 4.477 MB / 0.7528 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.8108, allocations: 63.39 kB / 1.151 GB, free: 4.402 MB / 0.7528 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.8112, allocations: 345.3 kB / 1.152 GB, free: 4.059 MB / 0.7528 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.8112, allocations: 25.7 kB / 1.152 GB, free: 4.027 MB / 0.7528 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.8113, allocations: 295.5 kB / 1.152 GB, free: 3.734 MB / 0.7528 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.8114, allocations: 115.2 kB / 1.152 GB, free: 3.621 MB / 0.7528 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.8114, allocations: 0 / 1.152 GB, free: 3.621 MB / 0.7528 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8115, allocations: 358.8 kB / 1.152 GB, free: 3.262 MB / 0.7528 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.8118, allocations: 181.2 kB / 1.153 GB, free: 3.086 MB / 0.7528 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.8121, allocations: 397.5 kB / 1.153 GB, free: 2.602 MB / 0.7528 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.8124, allocations: 247.7 kB / 1.153 GB, free: 2.359 MB / 0.7528 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8124, allocations: 4 kB / 1.153 GB, free: 2.355 MB / 0.7528 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001023/0.8135, allocations: 0.7117 MB / 1.154 GB, free: 1.621 MB / 0.7528 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8135, allocations: 4 kB / 1.154 GB, free: 1.617 MB / 0.7528 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8135, allocations: 9.219 kB / 1.154 GB, free: 1.609 MB / 0.7528 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.814, allocations: 152.9 kB / 1.154 GB, free: 1.445 MB / 0.7528 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.8144, allocations: 107.8 kB / 1.154 GB, free: 1.34 MB / 0.7528 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.8169, allocations: 3.865 MB / 1.158 GB, free: 13.13 MB / 0.7684 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.8172, allocations: 15.98 kB / 1.158 GB, free: 13.12 MB / 0.7684 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.8172, allocations: 28.16 kB / 1.158 GB, free: 13.09 MB / 0.7684 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001046/0.8173, allocations: 124.6 kB / 1.158 GB, free: 12.96 MB / 0.7684 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.8174, allocations: 55.34 kB / 1.158 GB, free: 12.91 MB / 0.7684 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/0.8183, allocations: 0.5805 MB / 1.159 GB, free: 12.3 MB / 0.7684 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.8183, allocations: 4 kB / 1.159 GB, free: 12.29 MB / 0.7684 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8183, allocations: 0 / 1.159 GB, free: 12.29 MB / 0.7684 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.8183, allocations: 5.156 kB / 1.159 GB, free: 12.29 MB / 0.7684 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.8198, allocations: 1.17 MB / 1.16 GB, free: 11.04 MB / 0.7684 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8198, allocations: 5.969 kB / 1.16 GB, free: 11.04 MB / 0.7684 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.8201, allocations: 47.91 kB / 1.16 GB, free: 10.99 MB / 0.7684 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/0.8205, allocations: 148.3 kB / 1.16 GB, free: 10.83 MB / 0.7684 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.8205, allocations: 0 / 1.16 GB, free: 10.83 MB / 0.7684 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.8231, allocations: 3.848 MB / 1.164 GB, free: 6.641 MB / 0.7684 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8231, allocations: 0 / 1.164 GB, free: 6.641 MB / 0.7684 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009146/0.824, allocations: 0.7825 MB / 1.165 GB, free: 5.762 MB / 0.7684 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001002/0.825, allocations: 1.15 MB / 1.166 GB, free: 4.512 MB / 0.7684 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.8252, allocations: 168.4 kB / 1.166 GB, free: 4.328 MB / 0.7684 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.8253, allocations: 0 / 1.166 GB, free: 4.328 MB / 0.7684 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.8256, allocations: 15.98 kB / 1.166 GB, free: 4.312 MB / 0.7684 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.8256, allocations: 15.98 kB / 1.166 GB, free: 4.297 MB / 0.7684 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8256, allocations: 8 kB / 1.166 GB, free: 4.289 MB / 0.7684 GB Notification: Performance of sort global known variables: time 0.0002216/0.8259, allocations: 266.9 kB / 1.166 GB, free: 4.031 MB / 0.7684 GB Notification: Performance of remove unused functions: time 0.001108/0.827, allocations: 131.8 kB / 1.166 GB, free: 3.902 MB / 0.7684 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001489/0.8271, allocations: 112.2 kB / 1.166 GB, free: 3.781 MB / 0.7684 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.8283, allocations: 0.9604 MB / 1.167 GB, free: 2.75 MB / 0.7684 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8283, allocations: 4 kB / 1.167 GB, free: 2.746 MB / 0.7684 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/0.829, allocations: 0.7007 MB / 1.168 GB, free: 1.973 MB / 0.7684 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.8297, allocations: 158.3 kB / 1.168 GB, free: 1.828 MB / 0.7684 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.831, allocations: 0.7621 MB / 1.169 GB, free: 1.023 MB / 0.7684 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.8315, allocations: 0.9487 MB / 1.17 GB, free: 48 kB / 0.7684 GB Notification: Performance of SimCode: time 2.71e-07/0.8315, allocations: 4 kB / 1.17 GB, free: 44 kB / 0.7684 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)