Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [: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.335/1.335, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0009288/0.0009288, allocations: 173.3 kB / 366.3 MB, free: 1.941 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.008/1.008, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0007801/0.0007799, allocations: 96.67 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.841e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4189, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5651, allocations: 154.4 MB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5654, allocations: 91.94 kB / 1.123 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04258/0.608, allocations: 19.98 MB / 1.143 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.603e-05/0.608, allocations: 15.98 kB / 1.143 GB, free: 5.73 MB / 0.7448 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.0008524/0.6089, allocations: 0.6461 MB / 1.144 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.6089, allocations: 8.031 kB / 1.144 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.6098, allocations: 131.3 kB / 1.144 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.6103, allocations: 379.2 kB / 1.144 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.6104, allocations: 12 kB / 1.144 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.6104, allocations: 19.91 kB / 1.144 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004663/0.6109, allocations: 289.3 kB / 1.144 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.6115, allocations: 0.5438 MB / 1.145 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.6115, allocations: 11.92 kB / 1.145 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.6116, allocations: 3.938 kB / 1.145 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.6116, allocations: 40.62 kB / 1.145 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.6142, allocations: 3.29 MB / 1.148 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.6147, allocations: 294.8 kB / 1.149 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.6149, allocations: 160.8 kB / 1.149 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.6149, allocations: 8.375 kB / 1.149 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.615, allocations: 38.41 kB / 1.149 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.615, allocations: 0 / 1.149 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.001006/0.616, allocations: 0.5772 MB / 1.149 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.616, allocations: 55.64 kB / 1.149 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.6163, allocations: 254 kB / 1.15 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6163, allocations: 25.7 kB / 1.15 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.6164, allocations: 207.5 kB / 1.15 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.6165, allocations: 98.58 kB / 1.15 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.6165, allocations: 0 / 1.15 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6166, allocations: 346.8 kB / 1.15 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.6168, allocations: 128.7 kB / 1.15 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.617, allocations: 248.5 kB / 1.151 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.6172, allocations: 170.6 kB / 1.151 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6172, allocations: 4 kB / 1.151 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007183/0.618, allocations: 495.3 kB / 1.151 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.618, allocations: 7.984 kB / 1.151 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.618, allocations: 4 kB / 1.151 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.6183, allocations: 82.52 kB / 1.151 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.6186, allocations: 88.23 kB / 1.151 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6186, allocations: 7.938 kB / 1.151 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.6189, allocations: 23.97 kB / 1.151 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.6189, allocations: 15.91 kB / 1.151 GB, free: 12.5 MB / 0.7605 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 8.971e-05/0.619, allocations: 120.1 kB / 1.152 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.6191, allocations: 35.53 kB / 1.152 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.6197, allocations: 416 kB / 1.152 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6197, allocations: 4 kB / 1.152 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6197, allocations: 0 / 1.152 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6198, allocations: 7.891 kB / 1.152 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.6209, allocations: 0.8824 MB / 1.153 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6209, allocations: 4 kB / 1.153 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.6211, allocations: 51.89 kB / 1.153 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.6214, allocations: 86.61 kB / 1.153 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.6214, allocations: 0 / 1.153 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6214, allocations: 4 kB / 1.153 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6214, allocations: 3.938 kB / 1.153 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006388/0.6221, allocations: 0.537 MB / 1.154 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6222, allocations: 136.6 kB / 1.154 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.6223, allocations: 7.984 kB / 1.154 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.6225, allocations: 23.89 kB / 1.154 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.6225, allocations: 7.984 kB / 1.154 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6226, allocations: 15.98 kB / 1.154 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000154/0.6227, allocations: 192.6 kB / 1.154 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003571/0.6231, allocations: 79.94 kB / 1.154 GB, free: 9.75 MB / 0.7605 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.0001154/0.6232, allocations: 111.2 kB / 1.154 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005926/0.6238, allocations: 0.5796 MB / 1.155 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6238, allocations: 0 / 1.155 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.6242, allocations: 426.7 kB / 1.155 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.6247, allocations: 102.8 kB / 1.155 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.6255, allocations: 0.5023 MB / 1.156 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.626, allocations: 0.8722 MB / 1.156 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of SimCode: time 2.374e-06/0.626, allocations: 0 / 1.156 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of Templates: time 0.007939/0.6339, allocations: 4.535 MB / 1.161 GB, free: 2.516 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)