Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.114/2.114, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001578/0.001578, allocations: 185.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001221/0.001221, allocations: 93.23 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2683/0.2696, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.8138, allocations: 115.3 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/1.022, allocations: 137.6 MB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.022, allocations: 68.72 kB / 1.097 GB, free: 3.117 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.01613/1.039, allocations: 3.385 MB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.039, allocations: 12 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/1.039, allocations: 12.84 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.039, allocations: 181.5 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.039, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/1.039, allocations: 13.38 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/1.039, allocations: 27.94 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/1.039, allocations: 73.58 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.039, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.039, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.039, allocations: 3.375 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/1.04, allocations: 397 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.752e-05/1.041, allocations: 31.19 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/1.041, allocations: 12.98 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.041, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/1.041, allocations: 79.23 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.041, allocations: 0 / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002694/1.041, allocations: 82.2 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.041, allocations: 59.34 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/1.041, allocations: 128 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.041, allocations: 25.7 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/1.042, allocations: 109.3 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/1.042, allocations: 19.72 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/1.042, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.042, allocations: 326.8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.042, allocations: 43.89 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/1.042, allocations: 114.3 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/1.043, allocations: 71.88 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.043, allocations: 4 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008138/1.043, allocations: 194.8 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.044, allocations: 5.25 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.044, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.044, allocations: 8 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.044, allocations: 36.25 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.044, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/1.044, allocations: 59.56 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.044, allocations: 18.11 kB / 1.103 GB, free: 13.47 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 0.0001185/1.045, allocations: 116.7 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/1.045, allocations: 11.81 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/1.045, allocations: 21.09 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.045, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.045, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.045, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/1.045, allocations: 350.9 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.045, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/1.046, allocations: 19.98 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.046, allocations: 0.5156 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/1.046, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.046, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.046, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003895/1.046, allocations: 211.3 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005482/1.047, allocations: 0.6097 MB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/1.047, allocations: 85.8 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.047, allocations: 9.594 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/1.047, allocations: 7.984 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.047, allocations: 7.984 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/1.047, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.603e-05/1.047, allocations: 111.3 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002421/1.05, allocations: 32 kB / 1.104 GB, free: 11.79 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.0002267/1.05, allocations: 123.3 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003696/1.05, allocations: 121.5 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.05, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/1.05, allocations: 24.69 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/1.051, allocations: 30 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/1.051, allocations: 180.8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/1.052, allocations: 0.7276 MB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.052, allocations: 0 / 1.105 GB, free: 10.53 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)