Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009921/0.0009921, allocations: 173.3 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008048/0.0008049, allocations: 98.25 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3342/0.335, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.4984, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6409/1.139, allocations: 345.3 MB / 1.222 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.14, allocations: 78.58 kB / 1.222 GB, free: 8.664 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01802/1.158, allocations: 8.094 MB / 1.23 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.158, allocations: 8 kB / 1.23 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/1.158, allocations: 16.8 kB / 1.23 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/1.158, allocations: 166.9 kB / 1.23 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/1.158, allocations: 0 / 1.23 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/1.158, allocations: 11.98 kB / 1.23 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.935e-05/1.158, allocations: 8 kB / 1.23 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.158, allocations: 59.64 kB / 1.23 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.158, allocations: 3.938 kB / 1.23 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.158, allocations: 4 kB / 1.23 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.158, allocations: 0 / 1.23 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/1.159, allocations: 435.2 kB / 1.231 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.159, allocations: 70.73 kB / 1.231 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/1.159, allocations: 22.55 kB / 1.231 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/1.159, allocations: 4 kB / 1.231 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.159, allocations: 34.44 kB / 1.231 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/1.159, allocations: 0 / 1.231 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005023/1.16, allocations: 285.8 kB / 1.231 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.16, allocations: 102.8 kB / 1.231 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/1.16, allocations: 93.06 kB / 1.231 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.16, allocations: 25.7 kB / 1.231 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.16, allocations: 95.66 kB / 1.231 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/1.16, allocations: 19.53 kB / 1.231 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/1.16, allocations: 0 / 1.231 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/1.16, allocations: 318.8 kB / 1.232 GB, free: 232 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/1.16, allocations: 11.94 kB / 1.232 GB, free: 224 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/1.16, allocations: 48.91 kB / 1.232 GB, free: 164 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/1.16, allocations: 19.8 kB / 1.232 GB, free: 148 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.16, allocations: 4 kB / 1.232 GB, free: 144 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001141/1.16, allocations: 77.34 kB / 1.232 GB, free: 64 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.16, allocations: 12.06 kB / 1.232 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.16, allocations: 3.984 kB / 1.232 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.16, allocations: 4 kB / 1.232 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/1.16, allocations: 23.56 kB / 1.232 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.16, allocations: 0 / 1.232 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/1.16, allocations: 7.906 kB / 1.232 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.16, allocations: 4 kB / 1.232 GB, free: 12 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.245e-05/1.16, allocations: 105 kB / 1.232 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/1.161, allocations: 7.906 kB / 1.232 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/1.161, allocations: 11.62 kB / 1.232 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.161, allocations: 4 kB / 1.232 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.161, allocations: 0 / 1.232 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.161, allocations: 480 / 1.232 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/1.161, allocations: 154.1 kB / 1.232 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.161, allocations: 0 / 1.232 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/1.161, allocations: 19.94 kB / 1.232 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.161, allocations: 0 / 1.232 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/1.161, allocations: 3.984 kB / 1.232 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.161, allocations: 7.906 kB / 1.232 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.161, allocations: 0 / 1.232 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002355/1.161, allocations: 345 kB / 1.232 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003416/1.162, allocations: 0.7276 MB / 1.233 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/1.162, allocations: 85.02 kB / 1.233 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/1.162, allocations: 4 kB / 1.233 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.162, allocations: 3.984 kB / 1.233 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/1.162, allocations: 11.94 kB / 1.233 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/1.162, allocations: 0 / 1.233 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.459e-05/1.162, allocations: 79.28 kB / 1.233 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009297/1.163, allocations: 15.91 kB / 1.233 GB, free: 14.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001581/1.163, allocations: 107.2 kB / 1.233 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.983e-05/1.163, allocations: 39.44 kB / 1.233 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.163, allocations: 4.25 kB / 1.233 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/1.163, allocations: 15.88 kB / 1.233 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/1.164, allocations: 7.984 kB / 1.233 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/1.164, allocations: 280 kB / 1.234 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/1.164, allocations: 0.7036 MB / 1.234 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.164, allocations: 0 / 1.234 GB, free: 13.17 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)