Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.003082/0.003082, allocations: 177.8 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6834/0.6834, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.539/1.539, allocations: 221.4 MB / 395 MB, free: 10.27 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.00112/0.00112, allocations: 106.8 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4712/0.4723, allocations: 88.44 MB / 0.5529 GB, free: 88.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.6591, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/1.226, allocations: 110.8 MB / 0.7415 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.226, allocations: 79.89 kB / 0.7416 GB, free: 10.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006136/1.232, allocations: 1.866 MB / 0.7434 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.232, allocations: 7.719 kB / 0.7434 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/1.232, allocations: 17.88 kB / 0.7434 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.233, allocations: 164.5 kB / 0.7436 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.233, allocations: 0 / 0.7436 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/1.233, allocations: 3.781 kB / 0.7436 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.09e-05/1.233, allocations: 11.62 kB / 0.7436 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.839e-05/1.233, allocations: 44.45 kB / 0.7436 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.233, allocations: 0 / 0.7436 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/1.233, allocations: 3.906 kB / 0.7437 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.233, allocations: 4 kB / 0.7437 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/1.233, allocations: 132.8 kB / 0.7438 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.663e-05/1.233, allocations: 37.5 kB / 0.7438 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/1.233, allocations: 15.67 kB / 0.7438 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.233, allocations: 9.125 kB / 0.7438 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.233, allocations: 33.56 kB / 0.7439 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.233, allocations: 4 kB / 0.7439 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.002065/1.235, allocations: 477.2 kB / 0.7443 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.235, allocations: 55.34 kB / 0.7444 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/1.235, allocations: 85 kB / 0.7445 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.236, allocations: 29.52 kB / 0.7445 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/1.236, allocations: 80.14 kB / 0.7446 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/1.236, allocations: 28.06 kB / 0.7446 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/1.236, allocations: 0 / 0.7446 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.236, allocations: 316.5 kB / 0.7449 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/1.236, allocations: 21.09 kB / 0.7449 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/1.236, allocations: 18.97 kB / 0.7449 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.195e-05/1.236, allocations: 26.05 kB / 0.745 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/1.236, allocations: 0 / 0.745 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001297/1.236, allocations: 84.14 kB / 0.745 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.236, allocations: 7.844 kB / 0.7451 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.236, allocations: 0 / 0.7451 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.236, allocations: 3.906 kB / 0.7451 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.236, allocations: 16.58 kB / 0.7451 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.236, allocations: 0.8594 kB / 0.7451 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/1.236, allocations: 4 kB / 0.7451 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/1.236, allocations: 7.719 kB / 0.7451 GB, free: 24.86 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 (9): * Single equations (assignments): 9 * 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 9.05e-05/1.236, allocations: 104.9 kB / 0.7452 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/1.237, allocations: 7.75 kB / 0.7452 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/1.237, allocations: 14.81 kB / 0.7452 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.237, allocations: 0 / 0.7452 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.237, allocations: 0 / 0.7452 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.237, allocations: 3.938 kB / 0.7452 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/1.237, allocations: 148.1 kB / 0.7453 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.237, allocations: 5.078 kB / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/1.237, allocations: 12.59 kB / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.237, allocations: 3.875 kB / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.237, allocations: 1.359 kB / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.237, allocations: 3.906 kB / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.237, allocations: 0 / 0.7454 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002271/1.237, allocations: 128.7 kB / 0.7455 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004058/1.238, allocations: 0.5431 MB / 0.746 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.238, allocations: 86.34 kB / 0.7461 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/1.238, allocations: 0 / 0.7461 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.238, allocations: 6.484 kB / 0.7461 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/1.238, allocations: 1.547 kB / 0.7461 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/1.238, allocations: 7.469 kB / 0.7461 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.79e-05/1.238, allocations: 79.34 kB / 0.7462 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007359/1.239, allocations: 11.5 kB / 0.7462 GB, free: 23.88 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 (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.000161/1.239, allocations: 104.2 kB / 0.7463 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.239, allocations: 57.02 kB / 0.7464 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.239, allocations: 0 / 0.7464 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/1.239, allocations: 28.12 kB / 0.7464 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.239, allocations: 9.625 kB / 0.7464 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/1.24, allocations: 128.4 kB / 0.7465 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/1.24, allocations: 0.7079 MB / 0.7472 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.24, allocations: 0 / 0.7472 GB, free: 22.99 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)