Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.323/2.323, allocations: 248.6 MB / 255.9 MB, free: 7.277 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.002006/0.002005, allocations: 184 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 1.952/1.952, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001827/0.001827, allocations: 91.33 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4912/0.4931, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.6946, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6697/1.364, allocations: 131.6 MB / 1.012 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.365, allocations: 62.09 kB / 1.012 GB, free: 8.578 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.006865/1.372, allocations: 1.424 MB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.372, allocations: 8 kB / 1.013 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.372, allocations: 7.906 kB / 1.014 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/1.372, allocations: 190.3 kB / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.372, allocations: 0 / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/1.372, allocations: 0.8438 kB / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/1.372, allocations: 22.98 kB / 1.014 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/1.372, allocations: 47.94 kB / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.372, allocations: 0 / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.372, allocations: 0 / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.372, allocations: 0 / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/1.373, allocations: 265.7 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.373, allocations: 41.77 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/1.373, allocations: 16.36 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/1.373, allocations: 3.938 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.373, allocations: 30.56 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/1.373, allocations: 0 / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002227/1.374, allocations: 56.69 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.374, allocations: 51.41 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.374, allocations: 100.2 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.374, allocations: 29.7 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/1.374, allocations: 87.33 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/1.374, allocations: 15.12 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/1.374, allocations: 3.938 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.374, allocations: 322.7 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/1.374, allocations: 7.312 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/1.374, allocations: 17.44 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/1.374, allocations: 7.812 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.374, allocations: 0 / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/1.374, allocations: 60.25 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.374, allocations: 7.938 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.374, allocations: 0 / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.374, allocations: 0 / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.375, allocations: 19.89 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.375, allocations: 4 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.375, allocations: 9.562 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/1.375, allocations: 4 kB / 1.015 GB, free: 5.828 MB / 0.6355 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 (5): * Single equations (assignments): 5 * 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 9.449e-05/1.375, allocations: 108.9 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/1.375, allocations: 7.406 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/1.375, allocations: 60.72 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.375, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.375, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.375, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/1.376, allocations: 153.7 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.376, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/1.376, allocations: 19.3 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.376, allocations: 384 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/1.376, allocations: 4 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.376, allocations: 0.875 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.376, allocations: 0 / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002574/1.376, allocations: 177.8 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004197/1.376, allocations: 0.5399 MB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/1.377, allocations: 85.02 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/1.377, allocations: 192 / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.377, allocations: 20.2 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/1.377, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.377, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.793e-05/1.377, allocations: 90.89 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001118/1.378, allocations: 11.91 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002068/1.378, allocations: 107.1 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001506/1.378, allocations: 23.19 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.378, allocations: 8 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/1.379, allocations: 15.55 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.379, allocations: 7.375 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/1.379, allocations: 94.73 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.38, allocations: 0.7032 MB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.38, allocations: 0 / 1.017 GB, free: 3.52 MB / 0.6355 GB