Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.297/2.297, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001637/0.001637, allocations: 184.1 kB / 315.1 MB, free: 4.262 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.964/1.964, allocations: 205.2 MB / 0.5658 GB, free: 304 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.001271/0.001271, allocations: 89.58 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4715/0.4728, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.6803, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6327/1.313, allocations: 131.4 MB / 1.012 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.313, allocations: 73.83 kB / 1.012 GB, free: 8.742 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.002775/1.316, allocations: 0.6624 MB / 1.013 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.316, allocations: 12 kB / 1.013 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/1.316, allocations: 4 kB / 1.013 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.316, allocations: 174.9 kB / 1.013 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/1.316, allocations: 0 / 1.013 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.317, allocations: 3.938 kB / 1.013 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.295e-05/1.317, allocations: 11.56 kB / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/1.317, allocations: 36.94 kB / 1.013 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.317, allocations: 0 / 1.013 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/1.317, allocations: 0 / 1.013 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.317, allocations: 0 / 1.013 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/1.317, allocations: 254.7 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/1.317, allocations: 29.52 kB / 1.013 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/1.318, allocations: 8.922 kB / 1.013 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/1.318, allocations: 4 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.318, allocations: 33.5 kB / 1.013 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/1.318, allocations: 0 / 1.013 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/1.318, allocations: 45.41 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.318, allocations: 51.41 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/1.318, allocations: 91.52 kB / 1.013 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.318, allocations: 25.7 kB / 1.013 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/1.318, allocations: 91.55 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.318, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.318, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.318, allocations: 318.7 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/1.318, allocations: 7.125 kB / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/1.318, allocations: 11.44 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/1.319, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.319, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/1.319, allocations: 44.83 kB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.319, allocations: 4 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.319, allocations: 0 / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.319, allocations: 0 / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/1.319, allocations: 11.98 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.319, allocations: 0.7812 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/1.319, allocations: 23.92 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/1.319, allocations: 0 / 1.014 GB, free: 6.699 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 (lesThr.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.0001283/1.319, allocations: 101 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/1.32, allocations: 0 / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/1.32, allocations: 14.7 kB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.32, allocations: 7.891 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.32, allocations: 3.938 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.32, allocations: 4 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.32, allocations: 137.6 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.32, allocations: 0 / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/1.32, allocations: 11.94 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.32, allocations: 3.984 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.32, allocations: 3.938 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.32, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.32, allocations: 4 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001818/1.32, allocations: 138 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000339/1.321, allocations: 0.5071 MB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/1.321, allocations: 81.05 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.321, allocations: 0 / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.321, allocations: 23.95 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/1.321, allocations: 3.938 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/1.321, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.89e-05/1.321, allocations: 86.45 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001087/1.322, allocations: 4 kB / 1.015 GB, free: 5.504 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 (lesThr.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.0001829/1.322, allocations: 103.2 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.322, allocations: 11.81 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.322, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/1.323, allocations: 7.312 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/1.323, allocations: 4 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/1.323, allocations: 69.45 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/1.324, allocations: 0.6959 MB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/1.324, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB