Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") [: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.6781/0.6781, allocations: 141.8 MB / 149.1 MB, free: 4.371 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.00102/0.00102, allocations: 185.9 kB / 181.9 MB, free: 48 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.3 MB / 436 MB, free: 9.23 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.0009456/0.0009456, allocations: 100.2 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 284.5 kB / 0.5884 GB, free: 12.24 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.024e-05, allocations: 3.938 kB / 0.6759 GB, free: 2.621 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 82.76 MB / 0.7567 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.5165, allocations: 116.2 MB / 0.8702 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.5168, allocations: 80.7 kB / 0.8702 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.05392/0.5707, allocations: 19.37 MB / 0.8892 GB, free: 8.949 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.000103/0.5708, allocations: 28.12 kB / 0.8892 GB, free: 8.922 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002204/0.573, allocations: 1.094 MB / 0.8902 GB, free: 7.777 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5731, allocations: 9.281 kB / 0.8903 GB, free: 7.77 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.5734, allocations: 126.5 kB / 0.8904 GB, free: 7.645 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.5751, allocations: 0.7307 MB / 0.8911 GB, free: 6.871 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.5752, allocations: 59.7 kB / 0.8911 GB, free: 6.809 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5753, allocations: 47.89 kB / 0.8912 GB, free: 6.762 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008914/0.5762, allocations: 448 kB / 0.8916 GB, free: 6.324 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.5773, allocations: 0.6222 MB / 0.8922 GB, free: 5.652 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5774, allocations: 3.938 kB / 0.8922 GB, free: 5.648 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.5774, allocations: 4.656 kB / 0.8922 GB, free: 5.645 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.5775, allocations: 20 kB / 0.8923 GB, free: 5.625 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.5811, allocations: 2.199 MB / 0.8944 GB, free: 3.367 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5822, allocations: 0.5456 MB / 0.8949 GB, free: 2.816 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.5826, allocations: 206.3 kB / 0.8951 GB, free: 2.613 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.5827, allocations: 4.5 kB / 0.8951 GB, free: 2.605 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.5831, allocations: 273.5 kB / 0.8954 GB, free: 2.328 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=60): time 3.276e-06/0.5831, allocations: 7.188 kB / 0.8954 GB, free: 2.324 MB / 0.5575 GB Notification: Performance of matching and sorting (n=60): time 0.000911/0.5841, allocations: 0.492 MB / 0.8959 GB, free: 1.82 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.5841, allocations: 137 kB / 0.896 GB, free: 1.656 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.5849, allocations: 0.5475 MB / 0.8966 GB, free: 1.102 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.585, allocations: 25.7 kB / 0.8966 GB, free: 1.07 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.5852, allocations: 308 kB / 0.8969 GB, free: 0.7656 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.5854, allocations: 193 kB / 0.8971 GB, free: 0.5742 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.5854, allocations: 0 / 0.8971 GB, free: 0.5742 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5855, allocations: 334 kB / 0.8974 GB, free: 248 kB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.5858, allocations: 169.3 kB / 0.8975 GB, free: 80 kB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.5862, allocations: 281.1 kB / 0.8978 GB, free: 15.76 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.5866, allocations: 203.1 kB / 0.898 GB, free: 15.57 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5866, allocations: 0 / 0.898 GB, free: 15.57 MB / 0.5732 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009269/0.5875, allocations: 0.5574 MB / 0.8985 GB, free: 15 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003987/0.5879, allocations: 0.8756 MB / 0.8994 GB, free: 14.06 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.588, allocations: 4 kB / 0.8994 GB, free: 14.05 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.588, allocations: 4 kB / 0.8994 GB, free: 14.05 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.5889, allocations: 167.8 kB / 0.8996 GB, free: 13.89 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.589, allocations: 7.984 kB / 0.8996 GB, free: 13.88 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.5895, allocations: 67.5 kB / 0.8996 GB, free: 13.81 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.5896, allocations: 20 kB / 0.8997 GB, free: 13.79 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.5896, allocations: 4 kB / 0.8997 GB, free: 13.79 MB / 0.5732 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007399/0.5903, allocations: 450.2 kB / 0.9001 GB, free: 13.35 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5904, allocations: 5.562 kB / 0.9001 GB, free: 13.34 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.5904, allocations: 12 kB / 0.9001 GB, free: 13.33 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.5913, allocations: 155.8 kB / 0.9003 GB, free: 13.18 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.5914, allocations: 11.92 kB / 0.9003 GB, free: 13.17 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.5919, allocations: 59.56 kB / 0.9003 GB, free: 13.11 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.592, allocations: 20 kB / 0.9003 GB, free: 13.09 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0001561/0.5921, allocations: 120.7 kB / 0.9005 GB, free: 12.96 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.5923, allocations: 86.88 kB / 0.9005 GB, free: 12.88 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.5924, allocations: 96.55 kB / 0.9006 GB, free: 12.78 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5925, allocations: 8 kB / 0.9006 GB, free: 12.77 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5925, allocations: 0 / 0.9006 GB, free: 12.77 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5925, allocations: 4.734 kB / 0.9006 GB, free: 12.77 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.5945, allocations: 1.319 MB / 0.9019 GB, free: 11.41 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5945, allocations: 0 / 0.9019 GB, free: 11.41 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.5951, allocations: 111.8 kB / 0.902 GB, free: 11.3 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.5951, allocations: 4 kB / 0.902 GB, free: 11.3 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.5952, allocations: 8 kB / 0.902 GB, free: 11.29 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5952, allocations: 7.906 kB / 0.9021 GB, free: 11.28 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5952, allocations: 0 / 0.9021 GB, free: 11.28 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001318/0.5965, allocations: 0.8602 MB / 0.9029 GB, free: 10.4 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5969, allocations: 231.8 kB / 0.9031 GB, free: 10.16 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.597, allocations: 7.938 kB / 0.9031 GB, free: 10.15 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.5976, allocations: 43.95 kB / 0.9032 GB, free: 10.11 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.5977, allocations: 32.45 kB / 0.9032 GB, free: 10.07 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.5977, allocations: 23.98 kB / 0.9032 GB, free: 10.05 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.000533/0.5983, allocations: 436.2 kB / 0.9036 GB, free: 9.633 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0009678/0.5992, allocations: 258.9 kB / 0.9039 GB, free: 9.379 MB / 0.5732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0002224/0.5995, allocations: 111.2 kB / 0.904 GB, free: 9.262 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.6012, allocations: 0.7513 MB / 0.9047 GB, free: 8.512 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6012, allocations: 0 / 0.9047 GB, free: 8.512 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.6015, allocations: 237.8 kB / 0.9049 GB, free: 8.277 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6026, allocations: 207.8 kB / 0.9051 GB, free: 8.082 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.6053, allocations: 1.157 MB / 0.9063 GB, free: 6.895 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/0.6062, allocations: 1.084 MB / 0.9073 GB, free: 5.781 MB / 0.5732 GB Notification: Performance of SimCode: time 2.184e-06/0.6062, allocations: 0 / 0.9073 GB, free: 5.781 MB / 0.5732 GB Notification: Performance of Templates: time 0.2234/0.8296, allocations: 12.83 MB / 0.9199 GB, free: 185 MB / 0.5732 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)