Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.221/1.221, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 185.2 kB / 316 MB, free: 3.5 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.1 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009251, allocations: 90.2 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3584/0.3594, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.5413, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/1.06, allocations: 152.4 MB / 1.033 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/1.06, allocations: 91.44 kB / 1.034 GB, free: 3.559 MB / 0.6511 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.02959/1.09, allocations: 12.2 MB / 1.045 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.09, allocations: 8 kB / 1.045 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006185/1.09, allocations: 63.73 kB / 1.046 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/1.091, allocations: 232.3 kB / 1.046 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.091, allocations: 4 kB / 1.046 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/1.091, allocations: 11.91 kB / 1.046 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002913/1.091, allocations: 161.2 kB / 1.046 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/1.092, allocations: 264.7 kB / 1.046 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.092, allocations: 4 kB / 1.046 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.092, allocations: 3.938 kB / 1.046 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/1.092, allocations: 20.16 kB / 1.046 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/1.093, allocations: 1.623 MB / 1.048 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/1.094, allocations: 67.83 kB / 1.048 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/1.094, allocations: 44.38 kB / 1.048 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/1.094, allocations: 4 kB / 1.048 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.094, allocations: 34.19 kB / 1.048 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/1.094, allocations: 4 kB / 1.048 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004758/1.094, allocations: 178.8 kB / 1.048 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.094, allocations: 77.11 kB / 1.048 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/1.094, allocations: 197.5 kB / 1.048 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.094, allocations: 25.7 kB / 1.048 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/1.095, allocations: 157.8 kB / 1.049 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/1.095, allocations: 31.11 kB / 1.049 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/1.095, allocations: 3.938 kB / 1.049 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/1.095, allocations: 326.2 kB / 1.049 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.095, allocations: 68.61 kB / 1.049 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/1.095, allocations: 154 kB / 1.049 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/1.095, allocations: 111.9 kB / 1.049 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.095, allocations: 4 kB / 1.049 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004014/1.096, allocations: 261.5 kB / 1.049 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/1.096, allocations: 1.135 MB / 1.051 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.096, allocations: 4 kB / 1.051 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.096, allocations: 4 kB / 1.051 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/1.096, allocations: 51.84 kB / 1.051 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.096, allocations: 11.92 kB / 1.051 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/1.096, allocations: 15.98 kB / 1.051 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/1.097, allocations: 11.98 kB / 1.051 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.064e-06/1.097, allocations: 11.91 kB / 1.051 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003145/1.097, allocations: 193.7 kB / 1.051 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.097, allocations: 4 kB / 1.051 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/1.097, allocations: 4 kB / 1.051 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/1.097, allocations: 51.78 kB / 1.051 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/1.097, allocations: 8 kB / 1.051 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/1.097, allocations: 7.984 kB / 1.051 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.097, allocations: 12 kB / 1.051 GB, free: 3.848 MB / 0.6667 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.656e-05/1.097, allocations: 112.4 kB / 1.051 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/1.097, allocations: 15.81 kB / 1.051 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/1.098, allocations: 113.7 kB / 1.051 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.098, allocations: 4 kB / 1.051 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.098, allocations: 0 / 1.051 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.098, allocations: 4 kB / 1.051 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/1.098, allocations: 0.58 MB / 1.052 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.098, allocations: 256 / 1.052 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/1.098, allocations: 23.48 kB / 1.052 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/1.098, allocations: 8 kB / 1.052 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.098, allocations: 4 kB / 1.052 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.098, allocations: 3.938 kB / 1.052 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.098, allocations: 4 kB / 1.052 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000234/1.099, allocations: 334.1 kB / 1.052 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000345/1.099, allocations: 0.7113 MB / 1.053 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/1.099, allocations: 108.5 kB / 1.053 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/1.099, allocations: 4 kB / 1.053 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.099, allocations: 4 kB / 1.053 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/1.099, allocations: 11.41 kB / 1.053 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.099, allocations: 7.984 kB / 1.053 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001219/1.099, allocations: 159 kB / 1.053 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001542/1.101, allocations: 99.52 kB / 1.053 GB, free: 1.465 MB / 0.6667 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.0001511/1.101, allocations: 111.2 kB / 1.053 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003397/1.101, allocations: 259.7 kB / 1.054 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.101, allocations: 1.5 kB / 1.054 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/1.102, allocations: 47.47 kB / 1.054 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.102, allocations: 30.33 kB / 1.054 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/1.102, allocations: 264.3 kB / 1.054 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/1.103, allocations: 0.7697 MB / 1.055 GB, free: 36 kB / 0.6667 GB Notification: Performance of SimCode: time 3.4e-07/1.103, allocations: 0 / 1.055 GB, free: 36 kB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)