Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7658/0.7658, allocations: 141.8 MB / 149.1 MB, free: 1.539 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 177.2 kB / 181.9 MB, free: 0.9766 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.4 MB / 436 MB, free: 5.664 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001023, allocations: 100.6 kB / 0.507 GB, free: 2.316 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 275.4 kB / 0.5884 GB, free: 47.41 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.095e-06, allocations: 2.125 kB / 0.6759 GB, free: 59.72 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 82.77 MB / 0.7567 GB, free: 0.8828 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.3318, allocations: 109 MB / 0.8632 GB, free: 3.719 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3321, allocations: 75.95 kB / 0.8632 GB, free: 3.645 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.3687/0.7008, allocations: 4.576 MB / 0.8677 GB, free: 109.9 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.7009, allocations: 3.875 kB / 0.8677 GB, free: 109.9 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000549/0.7014, allocations: 472 kB / 0.8682 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.7015, allocations: 9 kB / 0.8682 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.7015, allocations: 30.31 kB / 0.8682 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.7018, allocations: 260.1 kB / 0.8684 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.7019, allocations: 2.438 kB / 0.8684 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.7019, allocations: 8.625 kB / 0.8684 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001688/0.7021, allocations: 87.02 kB / 0.8685 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.7023, allocations: 131.9 kB / 0.8687 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7023, allocations: 0 / 0.8687 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7023, allocations: 0 / 0.8687 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.7024, allocations: 16.08 kB / 0.8687 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.7031, allocations: 0.5002 MB / 0.8692 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.7034, allocations: 236.1 kB / 0.8694 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.7035, allocations: 72.69 kB / 0.8695 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.7035, allocations: 3.938 kB / 0.8695 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.7035, allocations: 35.5 kB / 0.8695 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.7035, allocations: 9.766 kB / 0.8695 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22): time 0.0003874/0.7039, allocations: 205.6 kB / 0.8697 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.704, allocations: 55.31 kB / 0.8698 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.7041, allocations: 196.9 kB / 0.8699 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7042, allocations: 26.64 kB / 0.87 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.7042, allocations: 107.4 kB / 0.8701 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.7043, allocations: 83.09 kB / 0.8701 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.7043, allocations: 0.5 kB / 0.8701 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.7044, allocations: 335.5 kB / 0.8705 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.7046, allocations: 84.47 kB / 0.8705 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.7048, allocations: 87.92 kB / 0.8706 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.7051, allocations: 105.6 kB / 0.8707 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7051, allocations: 0 / 0.8707 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004438/0.7055, allocations: 252.7 kB / 0.871 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7055, allocations: 8.688 kB / 0.871 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7056, allocations: 0 / 0.871 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7056, allocations: 1 kB / 0.871 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.706, allocations: 80.88 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.7061, allocations: 5.344 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.7063, allocations: 22.58 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.7063, allocations: 5.906 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.908e-05/0.7064, allocations: 109.3 kB / 0.8712 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.7064, allocations: 22.69 kB / 0.8712 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.7065, allocations: 29.72 kB / 0.8712 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7065, allocations: 2.938 kB / 0.8712 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7065, allocations: 4 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.7066, allocations: 3.281 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.7069, allocations: 282.1 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.7069, allocations: 3.906 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.7072, allocations: 44.19 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7072, allocations: 1.219 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.7072, allocations: 7.125 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7072, allocations: 1.312 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7072, allocations: 2.297 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000569/0.7078, allocations: 378.2 kB / 0.8719 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.7079, allocations: 128.1 kB / 0.8721 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.708, allocations: 5.625 kB / 0.8721 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.7082, allocations: 8.984 kB / 0.8721 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.7083, allocations: 13.77 kB / 0.8721 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.7083, allocations: 5.312 kB / 0.8721 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002096/0.7085, allocations: 166.3 kB / 0.8723 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003302/0.7089, allocations: 43.41 kB / 0.8723 GB, free: 107.5 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001871/0.7091, allocations: 113.9 kB / 0.8724 GB, free: 107.4 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.7094, allocations: 184.8 kB / 0.8726 GB, free: 107.4 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7094, allocations: 0 / 0.8726 GB, free: 107.4 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.7096, allocations: 89.16 kB / 0.8727 GB, free: 107.4 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.7099, allocations: 29.98 kB / 0.8727 GB, free: 107.4 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7112, allocations: 478.1 kB / 0.8732 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.7117, allocations: 0.7899 MB / 0.8739 GB, free: 106.5 MB / 0.5419 GB Notification: Performance of SimCode: time 2.514e-06/0.7117, allocations: 0.6562 kB / 0.8739 GB, free: 106.5 MB / 0.5419 GB Notification: Performance of Templates: time 0.007491/0.7192, allocations: 2.299 MB / 0.8762 GB, free: 106.4 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)