Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001012/0.001012, allocations: 188.5 kB / 316 MB, free: 3.535 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.096/1.096, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0007658/0.0007657, allocations: 94.39 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3266/0.3274, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.4855, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.972, allocations: 131.9 MB / 1.014 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.9722, allocations: 67.59 kB / 1.014 GB, free: 6.852 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002817/0.975, allocations: 1.006 MB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.9751, allocations: 8 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.9751, allocations: 8.938 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.9752, allocations: 162.3 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9752, allocations: 4 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.9753, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.52e-05/0.9753, allocations: 31.03 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.9754, allocations: 52.23 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.9754, allocations: 4 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.9755, allocations: 0 / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.9755, allocations: 0 / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.9758, allocations: 261.5 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.9759, allocations: 61.17 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.976, allocations: 20.27 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.976, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.976, allocations: 34.12 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.976, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.9762, allocations: 56.73 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.9762, allocations: 51.41 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.9763, allocations: 100.5 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.9763, allocations: 29.7 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.9763, allocations: 87.7 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.9763, allocations: 7.812 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.9764, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9765, allocations: 322.4 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.9765, allocations: 7.5 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.9765, allocations: 15.5 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.9766, allocations: 7.625 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.9766, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.162e-05/0.9767, allocations: 64.2 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.9767, allocations: 8 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.9767, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.9767, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.9768, allocations: 15.98 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.9769, allocations: 0 / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.9769, allocations: 15.98 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.977, allocations: 0 / 1.016 GB, free: 4.438 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.33e-05/0.977, allocations: 108.9 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.9771, allocations: 7.906 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.9771, allocations: 7.438 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9771, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9771, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9771, allocations: 3.938 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.9772, allocations: 161.2 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9773, allocations: 3.938 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.9774, allocations: 11.98 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9774, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.9774, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9774, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9774, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001285/0.9775, allocations: 161.9 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001897/0.9777, allocations: 0.5201 MB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.9778, allocations: 85.3 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.9778, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9779, allocations: 15.98 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.978, allocations: 18.59 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.978, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.322e-05/0.978, allocations: 86.64 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007436/0.9788, allocations: 15.38 kB / 1.017 GB, free: 3.184 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001069/0.9789, allocations: 103.2 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.979, allocations: 27.11 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.979, allocations: 4 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.979, allocations: 22.62 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.9792, allocations: 3.906 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.9795, allocations: 83.38 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.9797, allocations: 0.6954 MB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9797, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)