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.Less.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.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.0009931/0.0009932, allocations: 192.3 kB / 316 MB, free: 3.547 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.128/1.128, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001008/0.001008, allocations: 106.4 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3432/0.3442, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.5041, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/0.9819, allocations: 131.6 MB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.9822, allocations: 71.56 kB / 1.013 GB, free: 7.18 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.002604/0.9848, allocations: 0.9308 MB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9848, allocations: 12 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.9849, allocations: 7.906 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.332e-05/0.985, allocations: 163.1 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.985, allocations: 0 / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.985, allocations: 0 / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.953e-05/0.9851, allocations: 23.78 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.266e-05/0.9852, allocations: 44.69 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9852, allocations: 0 / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.9852, allocations: 3.938 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9852, allocations: 0 / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.9857, allocations: 287.5 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.715e-05/0.9858, allocations: 26.2 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.9858, allocations: 16.17 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.9858, allocations: 3.938 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9859, allocations: 41.62 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.9859, allocations: 4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.9861, allocations: 49.23 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.9861, allocations: 51.41 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.9862, allocations: 104 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.9862, allocations: 25.7 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.9862, allocations: 94.69 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.9863, allocations: 3.906 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9863, allocations: 0 / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.9863, allocations: 322.1 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.9864, allocations: 7.688 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.9864, allocations: 11.56 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.9864, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9864, allocations: 4 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.381e-05/0.9865, allocations: 50.36 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.9865, allocations: 7.984 kB / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.9865, allocations: 0 / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.9865, allocations: 3.938 kB / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.9867, allocations: 23.98 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.9867, allocations: 0 / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.9868, allocations: 23.98 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9868, allocations: 0 / 1.016 GB, free: 4.805 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 (less1.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.996e-05/0.9869, allocations: 108.9 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.9869, allocations: 3.984 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.987, allocations: 6.688 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.987, allocations: 7.906 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.987, allocations: 0 / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.987, allocations: 4 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.9871, allocations: 140.6 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.9871, allocations: 4 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.9872, allocations: 19.92 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.9873, allocations: 7.984 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.9873, allocations: 4 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.9873, allocations: 0.5625 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9873, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.869e-05/0.9874, allocations: 146.5 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000172/0.9876, allocations: 0.5142 MB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.9876, allocations: 85.02 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.9876, allocations: 4.688 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.9877, allocations: 15.98 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.9878, allocations: 11.98 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.9878, allocations: 3.938 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.026e-05/0.9878, allocations: 86.78 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007308/0.9886, allocations: 7.906 kB / 1.017 GB, free: 3.562 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 (less1.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.0001017/0.9887, allocations: 99.25 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.9888, allocations: 27.33 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.9888, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.9888, allocations: 14.94 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.989, allocations: 8 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.9892, allocations: 77.75 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.9894, allocations: 0.695 MB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9894, allocations: 0 / 1.018 GB, free: 2.613 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)