Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001005/0.001005, allocations: 180.3 kB / 366.3 MB, free: 1.992 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.077/1.077, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009705/0.0009704, allocations: 88.27 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2125/0.2135, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.6921, allocations: 116.3 MB / 0.9727 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.8363, allocations: 138.8 MB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.8366, allocations: 72.77 kB / 1.108 GB, free: 9.602 MB / 0.7136 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.009615/0.8462, allocations: 3.386 MB / 1.112 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8463, allocations: 12 kB / 1.112 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.8463, allocations: 16.41 kB / 1.112 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8465, allocations: 174.9 kB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.8465, allocations: 7.938 kB / 1.112 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.8465, allocations: 9.594 kB / 1.112 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.706e-05/0.8466, allocations: 31.94 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.8467, allocations: 74.08 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8468, allocations: 0 / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8468, allocations: 0 / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.8468, allocations: 4 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.8476, allocations: 389 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.8477, allocations: 30.58 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.8477, allocations: 13.55 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.8478, allocations: 4 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.8479, allocations: 83.23 kB / 1.112 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.8479, allocations: 0 / 1.112 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002199/0.8481, allocations: 83.17 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8482, allocations: 59.34 kB / 1.113 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8483, allocations: 120.2 kB / 1.113 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8483, allocations: 25.7 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.8484, allocations: 113.3 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.8484, allocations: 27.69 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.8485, allocations: 3.938 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.8486, allocations: 322.8 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.8487, allocations: 43.91 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.8488, allocations: 106.3 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.8491, allocations: 83.86 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8491, allocations: 4 kB / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004867/0.8496, allocations: 193.9 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.8496, allocations: 4 kB / 1.114 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8497, allocations: 4 kB / 1.114 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8497, allocations: 4 kB / 1.114 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8498, allocations: 32.27 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8498, allocations: 0 / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.8501, allocations: 60.64 kB / 1.114 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.8501, allocations: 16 kB / 1.114 GB, free: 3.887 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 8.17e-05/0.8502, allocations: 112.9 kB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.8502, allocations: 15.81 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.8503, allocations: 12.5 kB / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8503, allocations: 0 / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8503, allocations: 0 / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8503, allocations: 0 / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.8507, allocations: 347.6 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8507, allocations: 0 / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.8509, allocations: 24.64 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8509, allocations: 0 / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.8509, allocations: 4 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8509, allocations: 0 / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8509, allocations: 0 / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002727/0.8512, allocations: 208 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003669/0.8516, allocations: 0.6105 MB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.8516, allocations: 85.19 kB / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.8516, allocations: 7.906 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.8518, allocations: 11.98 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.8518, allocations: 11.97 kB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.8518, allocations: 7.938 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.034e-05/0.8519, allocations: 107.2 kB / 1.115 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009485/0.8528, allocations: 32 kB / 1.115 GB, free: 2.211 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.0001864/0.853, allocations: 133.3 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.8533, allocations: 117.6 kB / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8533, allocations: 0 / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.8533, allocations: 28.69 kB / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.8536, allocations: 21.67 kB / 1.115 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.854, allocations: 180 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.8543, allocations: 0.727 MB / 1.116 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8543, allocations: 0 / 1.116 GB, free: 0.9453 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)