Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.159/2.159, allocations: 248.6 MB / 255.9 MB, free: 7.062 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.001655/0.001654, allocations: 188.3 kB / 315.1 MB, free: 4.238 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.119/2.119, allocations: 205.1 MB / 0.5658 GB, free: 348 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.002001/0.002001, allocations: 94.69 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5111/0.5131, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.7527, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/1.454, allocations: 131.4 MB / 1.012 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.455, allocations: 71.2 kB / 1.012 GB, free: 8.715 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004288/1.459, allocations: 0.6763 MB / 1.013 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/1.459, allocations: 8 kB / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/1.459, allocations: 4 kB / 1.013 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/1.459, allocations: 166.9 kB / 1.013 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/1.459, allocations: 0 / 1.013 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.459, allocations: 4 kB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/1.46, allocations: 15.88 kB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/1.46, allocations: 33.69 kB / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.46, allocations: 0 / 1.013 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.46, allocations: 4 kB / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.46, allocations: 0 / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/1.461, allocations: 251.6 kB / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/1.461, allocations: 26.55 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/1.461, allocations: 8.922 kB / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/1.461, allocations: 0 / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/1.461, allocations: 38.5 kB / 1.013 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.106e-06/1.461, allocations: 4 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002647/1.461, allocations: 40.8 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.461, allocations: 51.41 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.462, allocations: 95.2 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/1.462, allocations: 25.7 kB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/1.462, allocations: 87.44 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/1.462, allocations: 4 kB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/1.462, allocations: 0 / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.462, allocations: 318.8 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/1.462, allocations: 7.25 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/1.462, allocations: 0 / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/1.462, allocations: 7.25 kB / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.462, allocations: 0 / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/1.462, allocations: 45.31 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.462, allocations: 8 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.462, allocations: 1.031 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.462, allocations: 0 / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.463, allocations: 12.09 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.463, allocations: 0 / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/1.463, allocations: 15.89 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/1.463, allocations: 0 / 1.014 GB, free: 6.684 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: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001117/1.463, allocations: 111.2 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/1.463, allocations: 0 / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/1.463, allocations: 11.25 kB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.463, allocations: 3.906 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.463, allocations: 7.938 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.463, allocations: 3.938 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/1.464, allocations: 133.3 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.464, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/1.464, allocations: 19.36 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.464, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.464, allocations: 0.875 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.464, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.464, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002172/1.464, allocations: 143.2 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003501/1.464, allocations: 0.5067 MB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/1.465, allocations: 89.02 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.465, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.465, allocations: 16.5 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/1.465, allocations: 7.984 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/1.465, allocations: 0 / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.129e-05/1.465, allocations: 85.03 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001903/1.467, allocations: 4 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002392/1.467, allocations: 99.19 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001634/1.467, allocations: 11.25 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.468, allocations: 4.062 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/1.468, allocations: 11.81 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/1.468, allocations: 6.406 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/1.468, allocations: 69.27 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/1.469, allocations: 0.688 MB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/1.469, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6355 GB