Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001691/0.00169, allocations: 196.7 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.1 MB / 0.5658 GB, free: 320 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 83.33 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5006/0.502, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.7237, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.761, allocations: 359.5 MB / 1.235 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.762, allocations: 71.27 kB / 1.235 GB, free: 12.52 MB / 0.8542 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.04717/1.809, allocations: 12.73 MB / 1.247 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.809, allocations: 8 kB / 1.247 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/1.809, allocations: 15.92 kB / 1.247 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.809, allocations: 167 kB / 1.247 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.809, allocations: 3.906 kB / 1.247 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/1.809, allocations: 4 kB / 1.247 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/1.81, allocations: 14.61 kB / 1.247 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/1.81, allocations: 44.44 kB / 1.247 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.81, allocations: 0 / 1.247 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.81, allocations: 3.984 kB / 1.247 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.81, allocations: 4 kB / 1.247 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/1.81, allocations: 141.5 kB / 1.247 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/1.81, allocations: 48.62 kB / 1.248 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.81, allocations: 12.42 kB / 1.248 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/1.811, allocations: 0.606 MB / 1.248 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.811, allocations: 34.56 kB / 1.248 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/1.811, allocations: 3.938 kB / 1.248 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006658/1.812, allocations: 276.7 kB / 1.248 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.812, allocations: 51.41 kB / 1.248 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/1.812, allocations: 100.5 kB / 1.249 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.812, allocations: 25.7 kB / 1.249 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/1.812, allocations: 84.14 kB / 1.249 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/1.812, allocations: 31.19 kB / 1.249 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/1.812, allocations: 0 / 1.249 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.812, allocations: 322.5 kB / 1.249 GB, free: 388 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/1.812, allocations: 4 kB / 1.249 GB, free: 384 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/1.812, allocations: 49.17 kB / 1.249 GB, free: 324 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/1.812, allocations: 23.61 kB / 1.249 GB, free: 304 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.812, allocations: 0 / 1.249 GB, free: 304 kB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001838/1.813, allocations: 80.95 kB / 1.249 GB, free: 224 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.813, allocations: 8 kB / 1.249 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.813, allocations: 0 / 1.249 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.813, allocations: 4 kB / 1.249 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.813, allocations: 24.06 kB / 1.249 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.813, allocations: 3.984 kB / 1.249 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/1.813, allocations: 4 kB / 1.249 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.813, allocations: 4 kB / 1.249 GB, free: 176 kB / 0.8542 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.886e-05/1.813, allocations: 112.5 kB / 1.249 GB, free: 60 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/1.813, allocations: 4 kB / 1.249 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/1.813, allocations: 4.062 kB / 1.249 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.813, allocations: 0 / 1.249 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.813, allocations: 3.906 kB / 1.249 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.813, allocations: 4 kB / 1.249 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3421/2.155, allocations: 150.8 kB / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/2.155, allocations: 3.75 kB / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/2.156, allocations: 22.75 kB / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/2.156, allocations: 0 / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/2.156, allocations: 0 / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/2.156, allocations: 0 / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/2.156, allocations: 0 / 1.249 GB, free: 417.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002875/2.156, allocations: 172 kB / 1.25 GB, free: 417 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003243/2.156, allocations: 0.5431 MB / 1.25 GB, free: 416.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/2.156, allocations: 84.11 kB / 1.25 GB, free: 416.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/2.157, allocations: 12.69 kB / 1.25 GB, free: 416.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/2.157, allocations: 3.969 kB / 1.25 GB, free: 416.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/2.157, allocations: 0 / 1.25 GB, free: 416.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/2.157, allocations: 7.406 kB / 1.25 GB, free: 416.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.868e-05/2.157, allocations: 79.25 kB / 1.25 GB, free: 416.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003282/2.16, allocations: 22.36 kB / 1.25 GB, free: 416.3 MB / 0.8542 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.0003382/2.161, allocations: 119.8 kB / 1.25 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002184/2.161, allocations: 34.34 kB / 1.251 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.161, allocations: 0 / 1.251 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/2.161, allocations: 15.59 kB / 1.251 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/2.161, allocations: 5.812 kB / 1.251 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/2.162, allocations: 269 kB / 1.251 GB, free: 416.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/2.163, allocations: 0.7013 MB / 1.251 GB, free: 415.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.214e-06/2.163, allocations: 3.438 kB / 1.251 GB, free: 415.4 MB / 0.8542 GB