Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.306/2.306, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001701/0.001701, allocations: 183.8 kB / 360.3 MB, free: 7.551 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.864/1.864, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001261/0.001261, allocations: 86.61 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3703/0.3716, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/1.021, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.319/6.339, allocations: 2.069 GB / 3.032 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/6.34, allocations: 83.7 kB / 3.032 GB, free: 272.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2334/6.573, allocations: 67.61 MB / 3.098 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/6.573, allocations: 8.438 kB / 3.098 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/6.575, allocations: 82.38 kB / 3.098 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/6.575, allocations: 216.3 kB / 3.098 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/6.575, allocations: 2.75 kB / 3.098 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/6.575, allocations: 5.188 kB / 3.098 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002654/6.575, allocations: 62.39 kB / 3.098 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/6.576, allocations: 96.95 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/6.576, allocations: 0 / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/6.576, allocations: 3.906 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/6.576, allocations: 7.094 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009998/6.577, allocations: 374.7 kB / 3.099 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/6.577, allocations: 198 kB / 3.099 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/6.577, allocations: 41.95 kB / 3.099 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/6.577, allocations: 6.938 kB / 3.099 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/6.577, allocations: 38.48 kB / 3.099 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/6.577, allocations: 0 / 3.099 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.0003544/6.578, allocations: 95.14 kB / 3.099 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/6.578, allocations: 55.41 kB / 3.099 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/6.578, allocations: 121.2 kB / 3.099 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/6.578, allocations: 25.7 kB / 3.099 GB, free: 255.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/6.578, allocations: 104.5 kB / 3.099 GB, free: 255 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/6.578, allocations: 27.47 kB / 3.099 GB, free: 255 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/6.578, allocations: 0 / 3.099 GB, free: 255 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/6.578, allocations: 320.8 kB / 3.1 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/6.578, allocations: 25.02 kB / 3.1 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/6.578, allocations: 49.59 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/6.578, allocations: 33.14 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.578, allocations: 0 / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002661/6.579, allocations: 104.5 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/6.579, allocations: 6.625 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/6.579, allocations: 2.938 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/6.579, allocations: 0 / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/6.579, allocations: 41.41 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/6.579, allocations: 0 / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/6.58, allocations: 26.09 kB / 3.1 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/6.58, allocations: 2.844 kB / 3.1 GB, free: 254.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.162e-05/6.58, allocations: 111.6 kB / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/6.58, allocations: 10.66 kB / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/6.58, allocations: 18.88 kB / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/6.58, allocations: 0 / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/6.58, allocations: 2.844 kB / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/6.58, allocations: 3.984 kB / 3.1 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/6.581, allocations: 370.3 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/6.581, allocations: 2.562 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/6.581, allocations: 35.59 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/6.581, allocations: 0 / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/6.581, allocations: 2.812 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/6.581, allocations: 3.906 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/6.581, allocations: 7.875 kB / 3.1 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002745/6.582, allocations: 199.4 kB / 3.101 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004146/6.582, allocations: 0.5856 MB / 3.101 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/6.582, allocations: 87.83 kB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/6.582, allocations: 0 / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/6.582, allocations: 22.52 kB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/6.582, allocations: 6.703 kB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/6.583, allocations: 2.375 kB / 3.101 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.094e-05/6.583, allocations: 107 kB / 3.101 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001486/6.584, allocations: 123.6 kB / 3.101 GB, free: 253.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.001022/6.585, allocations: 0.7391 MB / 3.102 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000268/6.585, allocations: 71.86 kB / 3.102 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/6.585, allocations: 2.969 kB / 3.102 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/6.586, allocations: 35.53 kB / 3.102 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/6.586, allocations: 22.88 kB / 3.102 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/6.587, allocations: 166.1 kB / 3.102 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/6.587, allocations: 0.7232 MB / 3.103 GB, free: 252 MB / 0.9323 GB Notification: Performance of SimCode: time 1.032e-06/6.587, allocations: 2.969 kB / 3.103 GB, free: 252 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)