Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.287/1.287, allocations: 285.5 MB / 292.8 MB, free: 10.55 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.0009366/0.0009366, allocations: 185.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9943/0.9943, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.00074/0.00074, allocations: 94.5 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1702/0.1709, allocations: 121.5 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.5571, allocations: 115.3 MB / 0.9638 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.6949, allocations: 153.6 MB / 1.114 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6952, allocations: 92.78 kB / 1.114 GB, free: 2.316 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06332/0.7585, allocations: 30.11 MB / 1.143 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.7585, allocations: 8 kB / 1.143 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.7598, allocations: 202.8 kB / 1.143 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.7604, allocations: 496.3 kB / 1.144 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.7605, allocations: 16 kB / 1.144 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.7605, allocations: 24.94 kB / 1.144 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006154/0.7612, allocations: 434.2 kB / 1.144 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.7621, allocations: 0.8653 MB / 1.145 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.7621, allocations: 11.92 kB / 1.145 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.7621, allocations: 4 kB / 1.145 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.7622, allocations: 52.75 kB / 1.145 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.7659, allocations: 5.57 MB / 1.151 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.7664, allocations: 425.1 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.7667, allocations: 225.3 kB / 1.151 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.7667, allocations: 4 kB / 1.151 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.7667, allocations: 36.14 kB / 1.151 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.7667, allocations: 0 / 1.151 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001334/0.7681, allocations: 0.8285 MB / 1.152 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.7681, allocations: 55.41 kB / 1.152 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.7685, allocations: 358 kB / 1.153 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.7685, allocations: 29.7 kB / 1.153 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.7686, allocations: 299.4 kB / 1.153 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.7687, allocations: 106.4 kB / 1.153 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.7687, allocations: 0 / 1.153 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7689, allocations: 362.8 kB / 1.153 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.7691, allocations: 177.2 kB / 1.153 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7694, allocations: 405.4 kB / 1.154 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.7697, allocations: 239.7 kB / 1.154 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7698, allocations: 11.94 kB / 1.154 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001044/0.7708, allocations: 0.7077 MB / 1.155 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.7708, allocations: 4 kB / 1.155 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7708, allocations: 8.906 kB / 1.155 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.7713, allocations: 164.1 kB / 1.155 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.7717, allocations: 107.8 kB / 1.155 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.7743, allocations: 3.861 MB / 1.159 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.7746, allocations: 20.14 kB / 1.159 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.7747, allocations: 35.89 kB / 1.159 GB, free: 2.82 MB / 0.7605 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.0001043/0.7748, allocations: 123.2 kB / 1.159 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.7749, allocations: 55.34 kB / 1.159 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.7757, allocations: 0.573 MB / 1.16 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7758, allocations: 3.938 kB / 1.16 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7758, allocations: 4 kB / 1.16 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7758, allocations: 3.984 kB / 1.16 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.7773, allocations: 1.172 MB / 1.161 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.7773, allocations: 0 / 1.161 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.7775, allocations: 61.39 kB / 1.161 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.7779, allocations: 136.4 kB / 1.161 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.778, allocations: 4 kB / 1.161 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.7805, allocations: 3.844 MB / 1.165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7805, allocations: 4.031 kB / 1.165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009079/0.7814, allocations: 0.7786 MB / 1.166 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009949/0.7824, allocations: 1.153 MB / 1.167 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.7826, allocations: 160.4 kB / 1.167 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.7827, allocations: 10.42 kB / 1.167 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.7829, allocations: 11.98 kB / 1.167 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.783, allocations: 25.7 kB / 1.167 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.783, allocations: 12 kB / 1.167 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002285/0.7832, allocations: 270.9 kB / 1.167 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001027/0.7843, allocations: 127.9 kB / 1.167 GB, free: 9.633 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 (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.0001388/0.7844, allocations: 113.1 kB / 1.167 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7855, allocations: 0.9565 MB / 1.168 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7855, allocations: 0 / 1.168 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.7862, allocations: 0.7007 MB / 1.169 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.7869, allocations: 159 kB / 1.169 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.7881, allocations: 0.7621 MB / 1.17 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.7887, allocations: 0.9604 MB / 1.171 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of SimCode: time 1.694e-06/0.7887, allocations: 0 / 1.171 GB, free: 5.77 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)