Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.152/2.152, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001612/0.001612, allocations: 185.3 kB / 360.3 MB, free: 7.547 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.646/1.646, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001222/0.001222, allocations: 92.14 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2447, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.8035, allocations: 115.2 MB / 0.9628 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/1.037, allocations: 157.4 MB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/1.037, allocations: 93.77 kB / 1.117 GB, free: 15.25 MB / 0.7292 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.0483/1.086, allocations: 12.2 MB / 1.129 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.086, allocations: 8.5 kB / 1.129 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/1.087, allocations: 79.56 kB / 1.129 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.087, allocations: 227.3 kB / 1.129 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.087, allocations: 4 kB / 1.129 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/1.087, allocations: 8 kB / 1.129 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005044/1.088, allocations: 156.3 kB / 1.129 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/1.088, allocations: 264.2 kB / 1.129 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.088, allocations: 4.781 kB / 1.129 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/1.088, allocations: 0 / 1.129 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/1.088, allocations: 20.12 kB / 1.129 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/1.091, allocations: 1.622 MB / 1.131 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/1.091, allocations: 77.12 kB / 1.131 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/1.091, allocations: 49.81 kB / 1.131 GB, free: 272 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/1.091, allocations: 0 / 1.131 GB, free: 272 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.091, allocations: 30.56 kB / 1.131 GB, free: 232 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.091, allocations: 4 kB / 1.131 GB, free: 228 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0006293/1.092, allocations: 181.1 kB / 1.131 GB, free: 40 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.092, allocations: 81.11 kB / 1.131 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.093, allocations: 185.8 kB / 1.131 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.093, allocations: 29.7 kB / 1.131 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.093, allocations: 159.4 kB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/1.093, allocations: 27.64 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/1.093, allocations: 0.9375 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.093, allocations: 326.9 kB / 1.132 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/1.093, allocations: 71.97 kB / 1.132 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/1.093, allocations: 155.1 kB / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/1.094, allocations: 113.1 kB / 1.132 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.094, allocations: 4 kB / 1.132 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007622/1.095, allocations: 265.1 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000588/1.095, allocations: 1.13 MB / 1.134 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.095, allocations: 7.984 kB / 1.134 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.095, allocations: 4 kB / 1.134 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/1.096, allocations: 60.75 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.096, allocations: 4 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/1.096, allocations: 15.92 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/1.096, allocations: 8 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/1.096, allocations: 8 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005899/1.097, allocations: 198.6 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.097, allocations: 4 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/1.097, allocations: 4 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/1.097, allocations: 45.55 kB / 1.134 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.097, allocations: 15.92 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/1.098, allocations: 12.56 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.098, allocations: 8 kB / 1.134 GB, free: 12.96 MB / 0.7448 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 0.0001178/1.098, allocations: 116.6 kB / 1.134 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/1.098, allocations: 19.8 kB / 1.134 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/1.098, allocations: 110.7 kB / 1.134 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.098, allocations: 0 / 1.134 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.098, allocations: 0 / 1.134 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.098, allocations: 7.312 kB / 1.134 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.099, allocations: 0.5858 MB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.099, allocations: 4 kB / 1.135 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/1.099, allocations: 20.23 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.1, allocations: 0 / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.1, allocations: 7.906 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.1, allocations: 4 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.1, allocations: 3.938 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004117/1.1, allocations: 339.4 kB / 1.135 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005706/1.101, allocations: 0.7047 MB / 1.136 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.101, allocations: 100.9 kB / 1.136 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/1.101, allocations: 4 kB / 1.136 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/1.101, allocations: 12.86 kB / 1.136 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/1.101, allocations: 11.91 kB / 1.136 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.101, allocations: 4 kB / 1.136 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002295/1.101, allocations: 155.2 kB / 1.136 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002428/1.104, allocations: 83.94 kB / 1.136 GB, free: 10.43 MB / 0.7448 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.000196/1.104, allocations: 123.1 kB / 1.136 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006534/1.105, allocations: 263.6 kB / 1.137 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.105, allocations: 1.5 kB / 1.137 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.105, allocations: 35.92 kB / 1.137 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/1.105, allocations: 38.92 kB / 1.137 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/1.106, allocations: 266.1 kB / 1.137 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/1.107, allocations: 0.7631 MB / 1.138 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/1.107, allocations: 0 / 1.138 GB, free: 8.879 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)