Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",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.002263/0.002263, allocations: 190.5 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5253/0.5253, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 90.95 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1724/0.1735, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.5445, allocations: 72.31 MB / 0.553 GB, free: 73.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/1.114, allocations: 329.9 MB / 0.8751 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.115, allocations: 68.53 kB / 0.8752 GB, free: 11.16 MB / 0.5417 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.02939/1.144, allocations: 13.38 MB / 0.8882 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.144, allocations: 12 kB / 0.8883 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/1.144, allocations: 4 kB / 0.8883 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.144, allocations: 163.1 kB / 0.8884 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.144, allocations: 4 kB / 0.8884 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.144, allocations: 7.906 kB / 0.8884 GB, free: 496 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.363e-05/1.144, allocations: 18.92 kB / 0.8884 GB, free: 484 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/1.144, allocations: 45.5 kB / 0.8885 GB, free: 436 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.144, allocations: 0 / 0.8885 GB, free: 436 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.144, allocations: 0 / 0.8885 GB, free: 436 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.144, allocations: 5.25 kB / 0.8885 GB, free: 432 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/1.145, allocations: 145.7 kB / 0.8886 GB, free: 252 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/1.145, allocations: 37.39 kB / 0.8887 GB, free: 212 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/1.145, allocations: 12.55 kB / 0.8887 GB, free: 200 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/1.146, allocations: 0.6053 MB / 0.8893 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.146, allocations: 42.23 kB / 0.8893 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.146, allocations: 1.875 kB / 0.8893 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0005436/1.146, allocations: 268.9 kB / 0.8896 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.146, allocations: 55.41 kB / 0.8896 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/1.146, allocations: 96.47 kB / 0.8897 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.146, allocations: 25.7 kB / 0.8897 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/1.146, allocations: 84.09 kB / 0.8898 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/1.146, allocations: 35.11 kB / 0.8899 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/1.146, allocations: 0 / 0.8899 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.147, allocations: 318.5 kB / 0.8902 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/1.147, allocations: 15.69 kB / 0.8902 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/1.147, allocations: 44.84 kB / 0.8902 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/1.147, allocations: 23.86 kB / 0.8902 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/1.147, allocations: 0 / 0.8902 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001311/1.147, allocations: 85.02 kB / 0.8903 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/1.147, allocations: 4 kB / 0.8903 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.147, allocations: 7.984 kB / 0.8903 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.147, allocations: 0 / 0.8903 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/1.147, allocations: 16 kB / 0.8903 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.147, allocations: 8.125 kB / 0.8904 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/1.147, allocations: 1.5 kB / 0.8904 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/1.147, allocations: 7.375 kB / 0.8904 GB, free: 14.3 MB / 0.5573 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 7.777e-05/1.147, allocations: 112.8 kB / 0.8905 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/1.147, allocations: 3.984 kB / 0.8905 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/1.147, allocations: 11.5 kB / 0.8905 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.147, allocations: 0 / 0.8905 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.147, allocations: 0 / 0.8905 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.147, allocations: 3.906 kB / 0.8905 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/1.148, allocations: 157.7 kB / 0.8906 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/1.148, allocations: 3.062 kB / 0.8906 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/1.148, allocations: 12 kB / 0.8907 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.148, allocations: 0 / 0.8907 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/1.148, allocations: 0 / 0.8907 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.148, allocations: 0 / 0.8907 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.148, allocations: 7.984 kB / 0.8907 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001729/1.148, allocations: 164.7 kB / 0.8908 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003152/1.148, allocations: 0.5462 MB / 0.8914 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/1.148, allocations: 89 kB / 0.8914 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/1.148, allocations: 0 / 0.8914 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.148, allocations: 4 kB / 0.8914 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/1.148, allocations: 3.984 kB / 0.8914 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.148, allocations: 10.03 kB / 0.8915 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.081e-05/1.148, allocations: 79.22 kB / 0.8915 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008547/1.149, allocations: 19.91 kB / 0.8916 GB, free: 13.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001565/1.149, allocations: 125.3 kB / 0.8917 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001039/1.15, allocations: 35.77 kB / 0.8917 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.15, allocations: 0 / 0.8917 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/1.15, allocations: 15.88 kB / 0.8917 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.15, allocations: 3.984 kB / 0.8917 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/1.15, allocations: 261 kB / 0.892 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/1.151, allocations: 0.6997 MB / 0.8927 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of SimCode: time 2.6e-07/1.151, allocations: 0 / 0.8927 GB, free: 11.87 MB / 0.5573 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)