Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_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.001121/0.001122, allocations: 178.7 kB / 7.454 MB, free: 1.527 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6453/0.6453, allocations: 133.5 MB / 141.4 MB, free: 4.859 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.3 MB / 395 MB, free: 13.77 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 85.55 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4279/0.429, allocations: 88.44 MB / 0.5529 GB, free: 49.88 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/1.096, allocations: 82.29 MB / 0.6333 GB, free: 5.605 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.376/5.472, allocations: 1.689 GB / 2.322 GB, free: 117.3 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.472, allocations: 79.95 kB / 2.322 GB, free: 117.2 MB / 0.6746 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.1289/5.601, allocations: 64.55 MB / 2.385 GB, free: 51.39 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/5.601, allocations: 12 kB / 2.385 GB, free: 51.38 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009308/5.602, allocations: 75.8 kB / 2.385 GB, free: 51.3 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/5.602, allocations: 222.9 kB / 2.386 GB, free: 51.04 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/5.602, allocations: 0 / 2.386 GB, free: 51.04 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/5.603, allocations: 4 kB / 2.386 GB, free: 51.04 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002133/5.603, allocations: 67.98 kB / 2.386 GB, free: 50.97 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/5.603, allocations: 101.5 kB / 2.386 GB, free: 50.87 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/5.603, allocations: 0 / 2.386 GB, free: 50.87 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/5.603, allocations: 0 / 2.386 GB, free: 50.87 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/5.603, allocations: 4 kB / 2.386 GB, free: 50.86 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/5.604, allocations: 385 kB / 2.386 GB, free: 50.45 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/5.604, allocations: 196 kB / 2.386 GB, free: 50.23 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/5.604, allocations: 44.86 kB / 2.386 GB, free: 50.18 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/5.604, allocations: 4 kB / 2.386 GB, free: 50.18 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/5.605, allocations: 34.55 kB / 2.386 GB, free: 50.14 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/5.605, allocations: 0 / 2.386 GB, free: 50.14 MB / 0.6746 GB Notification: Performance of matching and sorting (n=8): time 0.0003056/5.605, allocations: 93.58 kB / 2.386 GB, free: 50.04 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/5.605, allocations: 51.41 kB / 2.387 GB, free: 49.98 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/5.605, allocations: 124.3 kB / 2.387 GB, free: 49.85 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/5.605, allocations: 25.7 kB / 2.387 GB, free: 49.82 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/5.605, allocations: 100.1 kB / 2.387 GB, free: 49.71 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/5.605, allocations: 27.56 kB / 2.387 GB, free: 49.69 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/5.605, allocations: 0 / 2.387 GB, free: 49.69 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/5.605, allocations: 322.8 kB / 2.387 GB, free: 49.36 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/5.605, allocations: 24 kB / 2.387 GB, free: 49.34 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/5.605, allocations: 50.56 kB / 2.387 GB, free: 49.28 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/5.605, allocations: 28.02 kB / 2.387 GB, free: 49.25 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.605, allocations: 0 / 2.387 GB, free: 49.25 MB / 0.6746 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001568/5.605, allocations: 113.9 kB / 2.387 GB, free: 49.14 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/5.605, allocations: 8 kB / 2.387 GB, free: 49.13 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/5.605, allocations: 0 / 2.387 GB, free: 49.13 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/5.606, allocations: 0 / 2.387 GB, free: 49.13 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/5.606, allocations: 39.91 kB / 2.387 GB, free: 49.09 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/5.606, allocations: 7.969 kB / 2.387 GB, free: 49.08 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/5.606, allocations: 31.97 kB / 2.387 GB, free: 49.05 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/5.606, allocations: 4 kB / 2.387 GB, free: 49.05 MB / 0.6746 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 5.615e-05/5.606, allocations: 101 kB / 2.387 GB, free: 48.94 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/5.606, allocations: 11.81 kB / 2.387 GB, free: 48.93 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/5.606, allocations: 16.5 kB / 2.388 GB, free: 48.91 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/5.606, allocations: 4 kB / 2.388 GB, free: 48.91 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/5.606, allocations: 0 / 2.388 GB, free: 48.91 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/5.606, allocations: 3.984 kB / 2.388 GB, free: 48.91 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/5.607, allocations: 378.9 kB / 2.388 GB, free: 48.49 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/5.607, allocations: 0 / 2.388 GB, free: 48.49 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/5.607, allocations: 39.97 kB / 2.388 GB, free: 48.45 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/5.607, allocations: 0 / 2.388 GB, free: 48.45 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/5.607, allocations: 3.938 kB / 2.388 GB, free: 48.45 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/5.607, allocations: 0 / 2.388 GB, free: 48.45 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/5.607, allocations: 0 / 2.388 GB, free: 48.45 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001991/5.607, allocations: 195.3 kB / 2.388 GB, free: 48.24 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004082/5.607, allocations: 0.5896 MB / 2.389 GB, free: 47.63 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/5.608, allocations: 92.86 kB / 2.389 GB, free: 47.52 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/5.608, allocations: 0 / 2.389 GB, free: 47.52 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/5.608, allocations: 23.98 kB / 2.389 GB, free: 47.5 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/5.608, allocations: 7.984 kB / 2.389 GB, free: 47.49 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/5.608, allocations: 0 / 2.389 GB, free: 47.49 MB / 0.6746 GB Notification: Performance of sort global known variables: time 5.538e-05/5.608, allocations: 99.27 kB / 2.389 GB, free: 47.39 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.00105/5.609, allocations: 119.9 kB / 2.389 GB, free: 47.28 MB / 0.6746 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.0008314/5.61, allocations: 0.7346 MB / 2.39 GB, free: 46.54 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.0002091/5.61, allocations: 76.14 kB / 2.39 GB, free: 46.47 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/5.61, allocations: 0 / 2.39 GB, free: 46.47 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/5.61, allocations: 39.98 kB / 2.39 GB, free: 46.43 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/5.61, allocations: 23.91 kB / 2.39 GB, free: 46.41 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/5.611, allocations: 163.5 kB / 2.39 GB, free: 46.22 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/5.611, allocations: 0.7348 MB / 2.391 GB, free: 45.46 MB / 0.6746 GB Notification: Performance of SimCode: time 2.51e-07/5.611, allocations: 0 / 2.391 GB, free: 45.46 MB / 0.6746 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)