Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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 8.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.4 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009655/0.0009653, allocations: 173.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9993/0.9993, allocations: 205.1 MB / 0.6195 GB, free: 10.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000754/0.000754, allocations: 91.34 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1755/0.1763, allocations: 121.5 MB / 0.8512 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.5701, allocations: 115.3 MB / 0.9638 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.6976, allocations: 137.8 MB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001449/0.6978, allocations: 63.97 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.008934/0.7067, allocations: 3.391 MB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.7068, allocations: 8 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.7068, allocations: 11.91 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.7069, allocations: 185.6 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.707, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.707, allocations: 12.75 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.874e-05/0.7071, allocations: 31.88 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7072, allocations: 77.58 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.7072, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.7072, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7072, allocations: 7.984 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.7079, allocations: 390.7 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.708, allocations: 26.58 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.708, allocations: 16.98 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.7081, allocations: 4 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.7082, allocations: 83.23 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.7082, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001798/0.7084, allocations: 81.44 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.7084, allocations: 51.41 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.7085, allocations: 122.3 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.7085, allocations: 37.64 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.7086, allocations: 112 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.7086, allocations: 19.72 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.7086, allocations: 3.938 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7087, allocations: 322.8 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.7088, allocations: 47.89 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.709, allocations: 110.3 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.7093, allocations: 75.88 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7093, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004794/0.7098, allocations: 193.5 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7098, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7098, allocations: 4 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.7098, allocations: 4 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.7099, allocations: 31.91 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7099, allocations: 6.266 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.7102, allocations: 61.56 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.7102, allocations: 15.98 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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 7.714e-05/0.7103, allocations: 108.9 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7104, allocations: 11.81 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.7104, allocations: 16.48 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.7104, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7104, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7104, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.7108, allocations: 351 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7108, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.7109, allocations: 15.98 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7109, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.711, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.711, allocations: 6.125 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.711, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002134/0.7112, allocations: 209.4 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003268/0.7115, allocations: 0.6052 MB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.7116, allocations: 88.95 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.7116, allocations: 7.906 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7117, allocations: 11.98 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.7118, allocations: 11.98 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.7118, allocations: 3.938 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.291e-05/0.7119, allocations: 105.7 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008042/0.7127, allocations: 27.98 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001555/0.7128, allocations: 136.2 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.713, allocations: 123.2 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.713, allocations: 0 / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.7131, allocations: 28 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.7133, allocations: 17.2 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.7137, allocations: 181.5 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.714, allocations: 0.7239 MB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.714, allocations: 0 / 1.107 GB, free: 9.488 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)