Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.004545/0.004545, allocations: 179.8 kB / 7.458 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.558/1.558, allocations: 221.3 MB / 395 MB, free: 10.15 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.000997/0.0009971, allocations: 92.53 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4644/0.4655, allocations: 88.45 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.6573, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5832/1.241, allocations: 111.8 MB / 0.7425 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.241, allocations: 86.03 kB / 0.7426 GB, free: 10.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008689/1.25, allocations: 2.91 MB / 0.7454 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.25, allocations: 7.812 kB / 0.7454 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/1.25, allocations: 31.23 kB / 0.7455 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.25, allocations: 164 kB / 0.7456 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/1.25, allocations: 0 / 0.7456 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/1.25, allocations: 1.406 kB / 0.7456 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.061e-05/1.25, allocations: 21.56 kB / 0.7456 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/1.251, allocations: 54.41 kB / 0.7457 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.251, allocations: 3.938 kB / 0.7457 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.251, allocations: 3.938 kB / 0.7457 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.251, allocations: 3.812 kB / 0.7457 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/1.251, allocations: 143 kB / 0.7458 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/1.251, allocations: 41.47 kB / 0.7459 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/1.251, allocations: 20.11 kB / 0.7459 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/1.251, allocations: 0 / 0.7459 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/1.251, allocations: 35.83 kB / 0.7459 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/1.251, allocations: 3.844 kB / 0.7459 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001857/1.253, allocations: 427.8 kB / 0.7463 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/1.253, allocations: 55.41 kB / 0.7464 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/1.253, allocations: 90.03 kB / 0.7465 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.253, allocations: 25.7 kB / 0.7465 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/1.253, allocations: 83.39 kB / 0.7466 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/1.253, allocations: 21.89 kB / 0.7466 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/1.253, allocations: 0 / 0.7466 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.253, allocations: 315.3 kB / 0.7469 GB, free: 25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/1.253, allocations: 25.92 kB / 0.7469 GB, free: 25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/1.253, allocations: 33.56 kB / 0.747 GB, free: 25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/1.254, allocations: 26.34 kB / 0.747 GB, free: 25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/1.254, allocations: 0 / 0.747 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001965/1.254, allocations: 107.5 kB / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.254, allocations: 7.531 kB / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.254, allocations: 0 / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.254, allocations: 1.406 kB / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.254, allocations: 23.7 kB / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.254, allocations: 0 / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/1.254, allocations: 10.58 kB / 0.7471 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.254, allocations: 7.453 kB / 0.7471 GB, free: 24.95 MB / 0.5105 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 (7): * Single equations (assignments): 7 * 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.101e-05/1.254, allocations: 101 kB / 0.7472 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/1.254, allocations: 4.938 kB / 0.7472 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/1.254, allocations: 15.19 kB / 0.7472 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.254, allocations: 3.938 kB / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.254, allocations: 0 / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.255, allocations: 1.734 kB / 0.7473 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/1.255, allocations: 172.6 kB / 0.7474 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.255, allocations: 0 / 0.7474 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.255, allocations: 30.03 kB / 0.7474 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.255, allocations: 3.906 kB / 0.7474 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.255, allocations: 7.812 kB / 0.7475 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.255, allocations: 0 / 0.7475 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.255, allocations: 0 / 0.7475 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002964/1.255, allocations: 166.9 kB / 0.7476 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004385/1.256, allocations: 0.562 MB / 0.7482 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/1.256, allocations: 81.64 kB / 0.7482 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/1.256, allocations: 4.5 kB / 0.7482 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/1.256, allocations: 10.44 kB / 0.7483 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/1.256, allocations: 5.484 kB / 0.7483 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/1.256, allocations: 11.5 kB / 0.7483 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.743e-05/1.256, allocations: 75.28 kB / 0.7483 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008884/1.257, allocations: 43.25 kB / 0.7484 GB, free: 23.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002457/1.257, allocations: 131.7 kB / 0.7485 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001725/1.257, allocations: 70.84 kB / 0.7486 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.257, allocations: 4.094 kB / 0.7486 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/1.258, allocations: 37.12 kB / 0.7486 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.258, allocations: 8.719 kB / 0.7486 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/1.258, allocations: 122.5 kB / 0.7487 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.259, allocations: 0.7107 MB / 0.7494 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.259, allocations: 0 / 0.7494 GB, free: 23.07 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)