Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.1.4-maint.8.1.x/package.mo): time 1.365/1.365, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.0009974/0.0009976, allocations: 189.2 kB / 366.3 MB, free: 1.945 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.055/1.055, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0007942/0.0007942, allocations: 84.89 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.205/0.2058, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.6525, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.8051, allocations: 157.3 MB / 1.126 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.8054, allocations: 95.92 kB / 1.126 GB, free: 7 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.02621/0.8316, allocations: 11.77 MB / 1.138 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.8317, allocations: 8 kB / 1.138 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.8322, allocations: 75.56 kB / 1.138 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.8325, allocations: 221.2 kB / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.8325, allocations: 8 kB / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.8326, allocations: 8 kB / 1.138 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002703/0.8328, allocations: 160.3 kB / 1.138 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.8332, allocations: 258.5 kB / 1.139 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.8332, allocations: 3.938 kB / 1.139 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.8332, allocations: 0 / 1.139 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.8332, allocations: 24.12 kB / 1.139 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.8349, allocations: 1.621 MB / 1.14 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.835, allocations: 73.12 kB / 1.14 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.835, allocations: 49.81 kB / 1.14 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.835, allocations: 0 / 1.14 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.8351, allocations: 34.56 kB / 1.14 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.8351, allocations: 0 / 1.14 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003953/0.8355, allocations: 180.6 kB / 1.14 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.8355, allocations: 77.11 kB / 1.141 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.8357, allocations: 193.8 kB / 1.141 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.8357, allocations: 25.7 kB / 1.141 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.8358, allocations: 159.4 kB / 1.141 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.8358, allocations: 31.64 kB / 1.141 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.8358, allocations: 0 / 1.141 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.836, allocations: 326.9 kB / 1.141 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.8361, allocations: 71.97 kB / 1.141 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.8362, allocations: 153 kB / 1.141 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.8364, allocations: 118.9 kB / 1.142 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.8364, allocations: 3.938 kB / 1.142 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000412/0.8368, allocations: 265.2 kB / 1.142 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.8372, allocations: 1.13 MB / 1.143 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8373, allocations: 11.92 kB / 1.143 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8373, allocations: 4 kB / 1.143 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.8375, allocations: 55.81 kB / 1.143 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.8375, allocations: 7.938 kB / 1.143 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.8378, allocations: 11.98 kB / 1.143 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.8378, allocations: 12 kB / 1.143 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.8378, allocations: 4 kB / 1.143 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003315/0.8381, allocations: 195.6 kB / 1.143 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.8381, allocations: 4 kB / 1.143 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.8382, allocations: 4 kB / 1.143 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8383, allocations: 47.92 kB / 1.143 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8383, allocations: 12.3 kB / 1.143 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.8385, allocations: 15.91 kB / 1.143 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.8385, allocations: 8 kB / 1.143 GB, free: 5.043 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 6.948e-05/0.8386, allocations: 104.9 kB / 1.143 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.8387, allocations: 19.8 kB / 1.143 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.8388, allocations: 118.7 kB / 1.144 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8388, allocations: 4.125 kB / 1.144 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8389, allocations: 4 kB / 1.144 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8389, allocations: 4.031 kB / 1.144 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.8395, allocations: 0.5819 MB / 1.144 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8395, allocations: 0 / 1.144 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.8396, allocations: 20.23 kB / 1.144 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8396, allocations: 4 kB / 1.144 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.8396, allocations: 7.906 kB / 1.144 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8396, allocations: 4 kB / 1.144 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8396, allocations: 3.938 kB / 1.144 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002367/0.8399, allocations: 338.8 kB / 1.144 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003458/0.8402, allocations: 0.7086 MB / 1.145 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.8403, allocations: 104.9 kB / 1.145 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.8404, allocations: 4 kB / 1.145 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.8405, allocations: 11.92 kB / 1.145 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.8405, allocations: 7.906 kB / 1.145 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.8405, allocations: 4 kB / 1.145 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001228/0.8407, allocations: 163.1 kB / 1.145 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001613/0.8423, allocations: 79.94 kB / 1.146 GB, free: 2.5 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.0001251/0.8424, allocations: 123.1 kB / 1.146 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.8428, allocations: 259.7 kB / 1.146 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8428, allocations: 0 / 1.146 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.8428, allocations: 41.42 kB / 1.146 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.8431, allocations: 33.77 kB / 1.146 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.8436, allocations: 273.1 kB / 1.146 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.8439, allocations: 0.767 MB / 1.147 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.8439, allocations: 0 / 1.147 GB, free: 0.9453 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)