Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 177 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7075/0.7075, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 90.34 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5085/0.5096, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.7012, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.362/5.064, allocations: 1.689 GB / 2.322 GB, free: 263 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004687/5.064, allocations: 83.7 kB / 2.322 GB, free: 263 MB / 0.6823 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.2083/5.273, allocations: 64.55 MB / 2.385 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/5.273, allocations: 8 kB / 2.385 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/5.274, allocations: 79.8 kB / 2.385 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/5.274, allocations: 222.8 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/5.274, allocations: 4 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/5.275, allocations: 4 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002499/5.275, allocations: 63.98 kB / 2.386 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/5.275, allocations: 104.6 kB / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/5.275, allocations: 4 kB / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/5.275, allocations: 0 / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/5.275, allocations: 0 / 2.386 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/5.276, allocations: 377 kB / 2.386 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/5.277, allocations: 196 kB / 2.386 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/5.277, allocations: 48.84 kB / 2.386 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/5.277, allocations: 160 / 2.386 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/5.277, allocations: 30.56 kB / 2.386 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/5.277, allocations: 4 kB / 2.386 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0004294/5.278, allocations: 105.5 kB / 2.386 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/5.278, allocations: 51.41 kB / 2.387 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/5.278, allocations: 124.6 kB / 2.387 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/5.278, allocations: 25.7 kB / 2.387 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/5.278, allocations: 100.1 kB / 2.387 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/5.278, allocations: 23.56 kB / 2.387 GB, free: 211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/5.278, allocations: 0 / 2.387 GB, free: 211 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001689/5.278, allocations: 326.8 kB / 2.387 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/5.278, allocations: 24 kB / 2.387 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/5.278, allocations: 50.5 kB / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/5.279, allocations: 31.98 kB / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/5.279, allocations: 0 / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002405/5.279, allocations: 97.56 kB / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/5.279, allocations: 11.06 kB / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/5.279, allocations: 0 / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/5.279, allocations: 32 / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/5.279, allocations: 43.91 kB / 2.387 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/5.279, allocations: 3.906 kB / 2.387 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/5.28, allocations: 23.98 kB / 2.387 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/5.28, allocations: 3.984 kB / 2.387 GB, free: 210.4 MB / 0.6823 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 0.0001003/5.28, allocations: 112.9 kB / 2.387 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/5.28, allocations: 11.81 kB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/5.28, allocations: 12.5 kB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/5.28, allocations: 4 kB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/5.28, allocations: 0 / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/5.28, allocations: 3.984 kB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/5.28, allocations: 371 kB / 2.388 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/5.28, allocations: 3.984 kB / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/5.281, allocations: 39.91 kB / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/5.281, allocations: 0 / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/5.281, allocations: 8 kB / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/5.281, allocations: 0 / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.281, allocations: 0 / 2.388 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002397/5.281, allocations: 207.3 kB / 2.388 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004984/5.282, allocations: 0.5784 MB / 2.389 GB, free: 209 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/5.282, allocations: 92.86 kB / 2.389 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/5.282, allocations: 3.938 kB / 2.389 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/5.282, allocations: 23.98 kB / 2.389 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/5.282, allocations: 3.984 kB / 2.389 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/5.282, allocations: 4 kB / 2.389 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.211e-05/5.282, allocations: 99.27 kB / 2.389 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001736/5.284, allocations: 127.9 kB / 2.389 GB, free: 208.6 MB / 0.6823 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.001417/5.285, allocations: 0.7429 MB / 2.39 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002915/5.286, allocations: 63.98 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/5.286, allocations: 0 / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/5.286, allocations: 39.92 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/5.286, allocations: 31.84 kB / 2.39 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/5.287, allocations: 159.6 kB / 2.39 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/5.287, allocations: 0.727 MB / 2.391 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/5.287, allocations: 0 / 2.391 GB, free: 206.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)