Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00289/0.00289, allocations: 184.9 kB / 7.459 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.7039/0.7039, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.678/1.678, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009989/0.0009988, allocations: 91.12 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5003/0.5014, allocations: 88.44 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.689, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7978/1.487, allocations: 318.8 MB / 0.9446 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.487, allocations: 74.89 kB / 0.9447 GB, free: 11.6 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.4683/1.956, allocations: 16.86 MB / 0.9611 GB, free: 244.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.956, allocations: 11 kB / 0.9611 GB, free: 244.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.958, allocations: 192.3 kB / 0.9613 GB, free: 244.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/1.958, allocations: 216.5 kB / 0.9615 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.958, allocations: 9.219 kB / 0.9615 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/1.958, allocations: 7.094 kB / 0.9616 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004179/1.958, allocations: 200.4 kB / 0.9617 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/1.959, allocations: 229.7 kB / 0.962 GB, free: 244.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.959, allocations: 2.531 kB / 0.962 GB, free: 244.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.959, allocations: 5.609 kB / 0.962 GB, free: 244.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/1.959, allocations: 7.938 kB / 0.962 GB, free: 244.6 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.96, allocations: 1.353 MB / 0.9633 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/1.961, allocations: 150.1 kB / 0.9634 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.961, allocations: 58.58 kB / 0.9635 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/1.961, allocations: 5.375 kB / 0.9635 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.961, allocations: 41.38 kB / 0.9635 GB, free: 243.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/1.961, allocations: 0 / 0.9635 GB, free: 243.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003504/1.961, allocations: 140.4 kB / 0.9637 GB, free: 243.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.961, allocations: 55 kB / 0.9637 GB, free: 243.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/1.961, allocations: 131 kB / 0.9639 GB, free: 243.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.961, allocations: 25.7 kB / 0.9639 GB, free: 243.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/1.961, allocations: 130.5 kB / 0.964 GB, free: 243 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/1.962, allocations: 61.31 kB / 0.9641 GB, free: 242.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/1.962, allocations: 0 / 0.9641 GB, free: 242.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/1.962, allocations: 328.7 kB / 0.9644 GB, free: 242.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/1.962, allocations: 45.47 kB / 0.9644 GB, free: 242.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/1.962, allocations: 120.8 kB / 0.9645 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/1.962, allocations: 56.53 kB / 0.9646 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.962, allocations: 0 / 0.9646 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000302/1.962, allocations: 193.3 kB / 0.9648 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.962, allocations: 5.969 kB / 0.9648 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.962, allocations: 3.594 kB / 0.9648 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.962, allocations: 5.031 kB / 0.9648 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/1.963, allocations: 71.44 kB / 0.9649 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.963, allocations: 5.875 kB / 0.9649 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.963, allocations: 29.77 kB / 0.9649 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/1.963, allocations: 17.02 kB / 0.9649 GB, free: 242.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.543e-05/1.963, allocations: 107.7 kB / 0.965 GB, free: 242.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/1.963, allocations: 13.09 kB / 0.965 GB, free: 242.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/1.964, allocations: 187.6 kB / 0.9652 GB, free: 242.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.964, allocations: 3.594 kB / 0.9652 GB, free: 242.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.964, allocations: 4.781 kB / 0.9652 GB, free: 242.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.964, allocations: 3.516 kB / 0.9652 GB, free: 242.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/1.964, allocations: 210.4 kB / 0.9654 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.964, allocations: 0 / 0.9654 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/1.964, allocations: 55.41 kB / 0.9655 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/1.964, allocations: 0 / 0.9655 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/1.964, allocations: 7.578 kB / 0.9655 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.964, allocations: 7.875 kB / 0.9655 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.964, allocations: 1.875 kB / 0.9655 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002773/1.965, allocations: 260 kB / 0.9657 GB, free: 242 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003535/1.965, allocations: 0.6271 MB / 0.9663 GB, free: 241.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/1.965, allocations: 108.7 kB / 0.9664 GB, free: 241.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/1.965, allocations: 2.312 kB / 0.9664 GB, free: 241.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/1.965, allocations: 19.28 kB / 0.9665 GB, free: 241.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/1.965, allocations: 12.45 kB / 0.9665 GB, free: 241.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.965, allocations: 10.08 kB / 0.9665 GB, free: 241.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.177e-05/1.966, allocations: 104.9 kB / 0.9666 GB, free: 241.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009894/1.967, allocations: 64.62 kB / 0.9666 GB, free: 241.3 MB / 0.6667 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 (20): * Single equations (assignments): 20 * 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.0002417/1.967, allocations: 131 kB / 0.9668 GB, free: 241.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002617/1.967, allocations: 142.5 kB / 0.9669 GB, free: 241.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.967, allocations: 0 / 0.9669 GB, free: 241.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/1.967, allocations: 75.22 kB / 0.967 GB, free: 241.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/1.967, allocations: 29.73 kB / 0.967 GB, free: 241.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/1.968, allocations: 215.4 kB / 0.9672 GB, free: 241.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.969, allocations: 0.7516 MB / 0.9679 GB, free: 240.4 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/1.969, allocations: 0 / 0.9679 GB, free: 240.4 MB / 0.6667 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)