Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.0009511/0.0009511, allocations: 176.5 kB / 316 MB, free: 3.504 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.116/1.116, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0008507/0.0008507, allocations: 96.75 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3368/0.3377, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.5055, allocations: 106.3 MB / 0.8847 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.9829, allocations: 131.7 MB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.9833, allocations: 69.95 kB / 1.013 GB, free: 6.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002725/0.986, allocations: 0.918 MB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9861, allocations: 8 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.9861, allocations: 7.906 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.9863, allocations: 163.1 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9863, allocations: 4 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.9863, allocations: 3.984 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.16e-05/0.9864, allocations: 18.41 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.9865, allocations: 48.81 kB / 1.014 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.9865, allocations: 0 / 1.014 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.9865, allocations: 4 kB / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9865, allocations: 0 / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.987, allocations: 287.3 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.9871, allocations: 29.45 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.9871, allocations: 12.61 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.9871, allocations: 4.078 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.9872, allocations: 38.06 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.9872, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.9873, allocations: 49.7 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.9873, allocations: 55.41 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.9874, allocations: 100.8 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.9874, allocations: 25.7 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.9875, allocations: 89.77 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.9875, allocations: 3.906 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-06/0.9875, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.9876, allocations: 321.8 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.9876, allocations: 11.38 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.9877, allocations: 11.88 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.9877, allocations: 4 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9877, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.214e-05/0.9878, allocations: 58.66 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.9878, allocations: 8 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.9878, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.9878, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.988, allocations: 23.98 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.988, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.9881, allocations: 19.98 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9881, allocations: 4 kB / 1.016 GB, free: 4.344 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 (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 6.614e-05/0.9882, allocations: 104.9 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.9882, allocations: 3.984 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.9882, allocations: 11.19 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9882, allocations: 3.906 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9882, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9883, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.9884, allocations: 145 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.9884, allocations: 4 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.9885, allocations: 23.92 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9885, allocations: 3.984 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.9885, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9885, allocations: 0.5625 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9885, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001127/0.9887, allocations: 150.3 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002177/0.9889, allocations: 0.5133 MB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.9889, allocations: 85.02 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.9889, allocations: 0.6875 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9891, allocations: 19.98 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.9891, allocations: 7.984 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.9891, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.788e-05/0.9892, allocations: 86.91 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007408/0.9899, allocations: 11.91 kB / 1.017 GB, free: 3.105 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 (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.0001309/0.9901, allocations: 99.25 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.9901, allocations: 27.48 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9902, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.9902, allocations: 14.94 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.9904, allocations: 7.938 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.9907, allocations: 84.44 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.991, allocations: 0.6915 MB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.991, allocations: 0 / 1.018 GB, free: 2.152 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1)