Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual",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.412/2.412, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 185.6 kB / 315.1 MB, free: 7.746 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.034/2.034, allocations: 205.1 MB / 0.5658 GB, free: 25.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 91.42 kB / 0.67 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2923/0.2936, allocations: 112.4 MB / 0.7797 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.7791, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.9923, allocations: 130.4 MB / 1.011 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9926, allocations: 71.95 kB / 1.011 GB, free: 10.59 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004337/0.997, allocations: 0.9287 MB / 1.012 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9971, allocations: 8 kB / 1.012 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.9971, allocations: 3.906 kB / 1.012 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.9973, allocations: 167 kB / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.9973, allocations: 0 / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.9973, allocations: 4 kB / 1.012 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.9975, allocations: 12 kB / 1.012 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.9976, allocations: 53.59 kB / 1.012 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.9976, allocations: 0 / 1.012 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.9976, allocations: 3.938 kB / 1.012 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.9976, allocations: 4 kB / 1.012 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.9984, allocations: 281.3 kB / 1.012 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.9985, allocations: 34.56 kB / 1.012 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.9986, allocations: 16.86 kB / 1.012 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.9986, allocations: 0 / 1.012 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9987, allocations: 34.56 kB / 1.012 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.9987, allocations: 0 / 1.012 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002335/0.9989, allocations: 45.78 kB / 1.012 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.999, allocations: 55.41 kB / 1.013 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9991, allocations: 108.9 kB / 1.013 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.9991, allocations: 29.64 kB / 1.013 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.9992, allocations: 88.08 kB / 1.013 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.9992, allocations: 7.906 kB / 1.013 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.9992, allocations: 0 / 1.013 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9994, allocations: 314.8 kB / 1.013 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.9994, allocations: 8 kB / 1.013 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.9995, allocations: 11.98 kB / 1.013 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.9995, allocations: 4 kB / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9995, allocations: 0 / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.9997, allocations: 49.61 kB / 1.013 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9997, allocations: 8 kB / 1.013 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9997, allocations: 4 kB / 1.013 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9997, allocations: 3.984 kB / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/1, allocations: 23.92 kB / 1.013 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/1, allocations: 0 / 1.013 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1, allocations: 19.98 kB / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1, allocations: 0 / 1.013 GB, free: 8.086 MB / 0.6667 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 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.8e-05/1, allocations: 112.8 kB / 1.013 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/1, allocations: 4 kB / 1.013 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/1, allocations: 15.98 kB / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1, allocations: 0 / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1, allocations: 3.906 kB / 1.013 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1, allocations: 0 / 1.013 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/1.001, allocations: 146.2 kB / 1.013 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.001, allocations: 0 / 1.013 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.001, allocations: 27.92 kB / 1.013 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.001, allocations: 4 kB / 1.013 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.001, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.001, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.001, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001927/1.001, allocations: 143.5 kB / 1.014 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003143/1.002, allocations: 0.5193 MB / 1.014 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/1.002, allocations: 89 kB / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/1.002, allocations: 0 / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.002, allocations: 19.98 kB / 1.014 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/1.002, allocations: 12.27 kB / 1.014 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.002, allocations: 0 / 1.014 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.192e-05/1.002, allocations: 79.28 kB / 1.014 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001162/1.003, allocations: 8 kB / 1.014 GB, free: 6.812 MB / 0.6667 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 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001988/1.003, allocations: 101.4 kB / 1.014 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001577/1.004, allocations: 23.98 kB / 1.014 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.004, allocations: 6.594 kB / 1.014 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/1.004, allocations: 19.92 kB / 1.014 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/1.004, allocations: 11.91 kB / 1.014 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/1.004, allocations: 75.61 kB / 1.015 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/1.005, allocations: 0.6915 MB / 1.015 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/1.005, allocations: 0 / 1.015 GB, free: 5.836 MB / 0.6667 GB