Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.363/1.363, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.0009094/0.0009094, allocations: 185.3 kB / 361.1 MB, free: 360 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 205.1 MB / 0.6195 GB, free: 2.887 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 81.53 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3676/0.3685, allocations: 121.5 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.5219, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.9792, allocations: 157.6 MB / 1.118 GB, free: 31.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.9795, allocations: 93.06 kB / 1.118 GB, free: 31.9 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.02422/1.004, allocations: 12.2 MB / 1.13 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.004, allocations: 15.64 kB / 1.13 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/1.004, allocations: 67.59 kB / 1.13 GB, free: 30.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.005, allocations: 232.2 kB / 1.13 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/1.005, allocations: 3.906 kB / 1.13 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/1.005, allocations: 11.72 kB / 1.13 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002542/1.005, allocations: 159.7 kB / 1.13 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/1.005, allocations: 257.8 kB / 1.13 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.005, allocations: 3.875 kB / 1.13 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.005, allocations: 0 / 1.13 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/1.005, allocations: 18.27 kB / 1.13 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.007, allocations: 1.625 MB / 1.132 GB, free: 44.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/1.007, allocations: 74.72 kB / 1.132 GB, free: 44.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/1.007, allocations: 43.42 kB / 1.132 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/1.007, allocations: 3.812 kB / 1.132 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/1.007, allocations: 35 kB / 1.132 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.007, allocations: 0 / 1.132 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004069/1.007, allocations: 179.4 kB / 1.132 GB, free: 44.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/1.007, allocations: 81.53 kB / 1.132 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/1.008, allocations: 186.8 kB / 1.133 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.008, allocations: 25.7 kB / 1.133 GB, free: 44.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/1.008, allocations: 162.9 kB / 1.133 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/1.008, allocations: 26.77 kB / 1.133 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/1.008, allocations: 0 / 1.133 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/1.008, allocations: 326.4 kB / 1.133 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/1.008, allocations: 76.7 kB / 1.133 GB, free: 43.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/1.008, allocations: 154.5 kB / 1.133 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/1.008, allocations: 108.9 kB / 1.133 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.008, allocations: 0 / 1.133 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003674/1.009, allocations: 274.3 kB / 1.134 GB, free: 43.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/1.009, allocations: 1.131 MB / 1.135 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.009, allocations: 3.906 kB / 1.135 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.009, allocations: 3.844 kB / 1.135 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.009, allocations: 54.59 kB / 1.135 GB, free: 42.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.009, allocations: 8.641 kB / 1.135 GB, free: 42.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.009, allocations: 15.45 kB / 1.135 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/1.009, allocations: 13.31 kB / 1.135 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/1.009, allocations: 3.938 kB / 1.135 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002811/1.01, allocations: 198.2 kB / 1.135 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/1.01, allocations: 0 / 1.135 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-06/1.01, allocations: 7.75 kB / 1.135 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/1.01, allocations: 45.72 kB / 1.135 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.01, allocations: 8.562 kB / 1.135 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/1.01, allocations: 11.02 kB / 1.135 GB, free: 42.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.01, allocations: 20.02 kB / 1.135 GB, free: 42.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/1.01, allocations: 113.4 kB / 1.135 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.01, allocations: 20.2 kB / 1.135 GB, free: 42.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/1.01, allocations: 114.1 kB / 1.135 GB, free: 42.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.01, allocations: 0 / 1.135 GB, free: 42.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.01, allocations: 4.125 kB / 1.135 GB, free: 42.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.01, allocations: 0.8438 kB / 1.135 GB, free: 42.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/1.011, allocations: 0.5866 MB / 1.136 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.011, allocations: 0 / 1.136 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/1.011, allocations: 18.19 kB / 1.136 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/1.011, allocations: 4.125 kB / 1.136 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.011, allocations: 4 kB / 1.136 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.011, allocations: 8.344 kB / 1.136 GB, free: 41.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.011, allocations: 4.547 kB / 1.136 GB, free: 41.97 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001858/1.011, allocations: 335.7 kB / 1.136 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002953/1.012, allocations: 0.7081 MB / 1.137 GB, free: 40.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/1.012, allocations: 101.8 kB / 1.137 GB, free: 40.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/1.012, allocations: 12.5 kB / 1.137 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.012, allocations: 5.797 kB / 1.137 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/1.012, allocations: 12.77 kB / 1.137 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.012, allocations: 4.531 kB / 1.137 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001169/1.012, allocations: 156.7 kB / 1.137 GB, free: 40.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001491/1.013, allocations: 87.36 kB / 1.137 GB, free: 40.77 MB / 0.7292 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/1.014, allocations: 128.2 kB / 1.138 GB, free: 40.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003096/1.014, allocations: 251 kB / 1.138 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.014, allocations: 0 / 1.138 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/1.014, allocations: 45.41 kB / 1.138 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.014, allocations: 23.95 kB / 1.138 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/1.015, allocations: 275.5 kB / 1.138 GB, free: 40.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/1.015, allocations: 0.7618 MB / 1.139 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/1.015, allocations: 0 / 1.139 GB, free: 39.79 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)