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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.001043/0.001043, allocations: 196.4 kB / 316 MB, free: 3.398 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.163/1.163, allocations: 205.2 MB / 0.5667 GB, free: 15.5 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.0008598/0.0008597, allocations: 93.78 kB / 0.671 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3251/0.326, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.4757, allocations: 106.3 MB / 0.8847 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.9152, allocations: 131.6 MB / 1.013 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.9155, allocations: 69.89 kB / 1.013 GB, free: 6.676 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.001762/0.9173, allocations: 0.6755 MB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.9173, allocations: 12 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.9174, allocations: 0 / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/0.9175, allocations: 167 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.9175, allocations: 4 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.9175, allocations: 0 / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.121e-05/0.9176, allocations: 15.36 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.432e-05/0.9176, allocations: 33.7 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.9176, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.9176, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.9177, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.918, allocations: 251.7 kB / 1.014 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.918, allocations: 25.77 kB / 1.014 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.9181, allocations: 16.84 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.9181, allocations: 4 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.9181, allocations: 34.5 kB / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9181, allocations: 0 / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001148/0.9182, allocations: 37.61 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.9183, allocations: 51.41 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.9183, allocations: 96.11 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.9183, allocations: 25.7 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.9184, allocations: 94.84 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.9184, allocations: 3.906 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.9184, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.9185, allocations: 310.8 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.9185, allocations: 7.188 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.9185, allocations: 4 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.19e-05/0.9185, allocations: 3.938 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9185, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.698e-05/0.9186, allocations: 45.69 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.9186, allocations: 8.031 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.9186, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.9186, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.9187, allocations: 15.11 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9188, allocations: 3.906 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.9188, allocations: 12 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.9188, allocations: 4 kB / 1.015 GB, free: 4.637 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 5.507e-05/0.9189, allocations: 106.2 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.9189, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.9189, allocations: 15.17 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.919, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.919, allocations: 3.938 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.919, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.9191, allocations: 137.7 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9191, allocations: 2.625 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.9192, allocations: 11.98 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9192, allocations: 3.938 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.9192, allocations: 0 / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9192, allocations: 0 / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9192, allocations: 7.844 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.246e-05/0.9193, allocations: 141.5 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001558/0.9194, allocations: 0.5065 MB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.9195, allocations: 81.05 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.9195, allocations: 3.906 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.9196, allocations: 16.05 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.9196, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.9196, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.974e-05/0.9197, allocations: 82.66 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007314/0.9204, allocations: 4 kB / 1.016 GB, free: 3.449 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.0001148/0.9205, allocations: 111.2 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.9206, allocations: 10.69 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9206, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.9206, allocations: 7.688 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.9208, allocations: 4 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.921, allocations: 66.62 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.9212, allocations: 0.692 MB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9212, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)