Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",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 10.0.0-master/package.mo): time 2.08/2.08, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 185.2 kB / 490.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008834, allocations: 93.3 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6754/0.6763, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.9502, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/2.009, allocations: 457.1 MB / 1.658 GB, free: 7.043 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/2.01, allocations: 69 kB / 1.658 GB, free: 7.012 MB / 1.073 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.09151/2.101, allocations: 36.29 MB / 1.694 GB, free: 7.879 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/2.101, allocations: 8 kB / 1.694 GB, free: 7.871 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/2.101, allocations: 19.89 kB / 1.694 GB, free: 7.852 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/2.101, allocations: 163 kB / 1.694 GB, free: 7.652 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/2.101, allocations: 0 / 1.694 GB, free: 7.652 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/2.102, allocations: 7.938 kB / 1.694 GB, free: 7.645 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.203e-05/2.102, allocations: 19.42 kB / 1.694 GB, free: 7.629 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/2.102, allocations: 49.11 kB / 1.694 GB, free: 7.578 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/2.102, allocations: 3.906 kB / 1.694 GB, free: 7.574 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/2.102, allocations: 0 / 1.694 GB, free: 7.574 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/2.102, allocations: 0 / 1.694 GB, free: 7.574 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/2.102, allocations: 145.8 kB / 1.694 GB, free: 7.398 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/2.102, allocations: 36.52 kB / 1.694 GB, free: 7.363 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/2.102, allocations: 20.34 kB / 1.694 GB, free: 7.344 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/2.113, allocations: 3.094 MB / 1.697 GB, free: 4.199 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/2.113, allocations: 38.48 kB / 1.697 GB, free: 4.152 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/2.113, allocations: 0 / 1.697 GB, free: 4.152 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.02521/2.138, allocations: 6.484 MB / 1.703 GB, free: 13.6 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/2.138, allocations: 54.47 kB / 1.703 GB, free: 13.54 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/2.138, allocations: 92.91 kB / 1.704 GB, free: 13.44 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/2.138, allocations: 25.7 kB / 1.704 GB, free: 13.41 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/2.138, allocations: 80.14 kB / 1.704 GB, free: 13.32 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/2.138, allocations: 37.95 kB / 1.704 GB, free: 13.29 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/2.138, allocations: 128 / 1.704 GB, free: 13.29 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001124/2.138, allocations: 322.8 kB / 1.704 GB, free: 12.97 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/2.138, allocations: 14.38 kB / 1.704 GB, free: 12.96 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/2.139, allocations: 18.19 kB / 1.704 GB, free: 12.95 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.296e-05/2.139, allocations: 32.11 kB / 1.704 GB, free: 12.93 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/2.139, allocations: 0 / 1.704 GB, free: 12.93 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002174/2.139, allocations: 93.95 kB / 1.704 GB, free: 12.84 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/2.139, allocations: 4 kB / 1.704 GB, free: 12.84 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/2.139, allocations: 4 kB / 1.704 GB, free: 12.83 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/2.139, allocations: 0 / 1.704 GB, free: 12.83 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/2.139, allocations: 31.92 kB / 1.704 GB, free: 12.8 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/2.139, allocations: 0 / 1.704 GB, free: 12.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/2.139, allocations: 0 / 1.704 GB, free: 12.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/2.139, allocations: 4 kB / 1.704 GB, free: 12.8 MB / 1.12 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 (14): * Single equations (assignments): 14 * 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 6.979e-05/2.139, allocations: 104.9 kB / 1.704 GB, free: 12.69 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/2.139, allocations: 4 kB / 1.704 GB, free: 12.68 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/2.14, allocations: 139.3 kB / 1.704 GB, free: 12.55 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/2.14, allocations: 0 / 1.704 GB, free: 12.55 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/2.14, allocations: 4 kB / 1.704 GB, free: 12.55 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/2.14, allocations: 3.984 kB / 1.704 GB, free: 12.54 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/2.14, allocations: 149.4 kB / 1.705 GB, free: 12.37 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/2.14, allocations: 0 / 1.705 GB, free: 12.37 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/2.14, allocations: 23.98 kB / 1.705 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/2.14, allocations: 3.984 kB / 1.705 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/2.14, allocations: 0 / 1.705 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/2.14, allocations: 0 / 1.705 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.14, allocations: 7.906 kB / 1.705 GB, free: 12.33 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002751/2.14, allocations: 145.7 kB / 1.705 GB, free: 12.19 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000435/2.141, allocations: 0.5434 MB / 1.705 GB, free: 11.67 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/2.141, allocations: 100.2 kB / 1.705 GB, free: 11.56 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/2.141, allocations: 4 kB / 1.705 GB, free: 11.56 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/2.141, allocations: 12 kB / 1.705 GB, free: 11.55 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/2.141, allocations: 7.984 kB / 1.705 GB, free: 11.54 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/2.141, allocations: 8.312 kB / 1.705 GB, free: 11.53 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.818e-05/2.141, allocations: 75.28 kB / 1.705 GB, free: 11.46 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00289/2.144, allocations: 0.6423 MB / 1.706 GB, free: 10.89 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004319/2.148, allocations: 0.8362 MB / 1.707 GB, free: 10.06 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001388/2.148, allocations: 53.17 kB / 1.707 GB, free: 10.02 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.148, allocations: 4 kB / 1.707 GB, free: 10.02 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/2.148, allocations: 30.38 kB / 1.707 GB, free: 9.996 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/2.149, allocations: 10.78 kB / 1.707 GB, free: 9.988 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/2.149, allocations: 276.5 kB / 1.707 GB, free: 9.699 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/2.149, allocations: 0.7164 MB / 1.708 GB, free: 8.957 MB / 1.12 GB Notification: Performance of SimCode: time 2.6e-07/2.149, allocations: 4 kB / 1.708 GB, free: 8.953 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)