Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json 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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 103 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 174.2 kB / 16.58 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.123/1.123, allocations: 143.4 MB / 435.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 8 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 83.41 MB / 0.5981 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004544/0.2122, allocations: 3.655 MB / 0.6016 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2157, allocations: 1.492 MB / 0.6031 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.2164, allocations: 31.81 kB / 0.6031 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.2168, allocations: 122.8 kB / 0.6032 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.2176, allocations: 170.8 kB / 0.6034 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.219, allocations: 0.5197 MB / 0.6039 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2203, allocations: 1.046 MB / 0.6049 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.2209, allocations: 351.4 kB / 0.6053 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.2214, allocations: 334 kB / 0.6056 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4578/0.6792, allocations: 333.5 kB / 0.6059 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.6795, allocations: 25.53 kB / 0.6059 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.6796, allocations: 25.81 kB / 0.6059 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.6798, allocations: 137.1 kB / 0.6061 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.68, allocations: 179.5 kB / 0.6062 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.6807, allocations: 0.8461 MB / 0.6071 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6807, allocations: 1.719 kB / 0.6071 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6807, allocations: 0 / 0.6071 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.6808, allocations: 0 / 0.6071 GB, free: 35.75 MB / 0.4981 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.001937/0.6827, allocations: 1.251 MB / 0.6083 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6827, allocations: 11.88 kB / 0.6083 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.6829, allocations: 121.6 kB / 0.6084 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/0.6839, allocations: 0.6939 MB / 0.6091 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.684, allocations: 80.73 kB / 0.6092 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.6841, allocations: 75.34 kB / 0.6092 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6853, allocations: 0.7341 MB / 0.61 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6853, allocations: 3.344 kB / 0.61 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.6854, allocations: 27.75 kB / 0.61 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.6854, allocations: 18.97 kB / 0.61 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.6863, allocations: 0.5253 MB / 0.6105 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.6893, allocations: 2.292 MB / 0.6128 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.6905, allocations: 0.6372 MB / 0.6134 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.6911, allocations: 278.1 kB / 0.6136 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.6911, allocations: 10.97 kB / 0.6137 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.6918, allocations: 331.1 kB / 0.614 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/0.6919, allocations: 0 / 0.614 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001483/0.6934, allocations: 0.769 MB / 0.6147 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6934, allocations: 82.77 kB / 0.6148 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.6943, allocations: 0.7456 MB / 0.6155 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.6944, allocations: 38.67 kB / 0.6156 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.6948, allocations: 439.8 kB / 0.616 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.6949, allocations: 207 kB / 0.6162 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.6949, allocations: 17.88 kB / 0.6162 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.695, allocations: 334.8 kB / 0.6165 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.6954, allocations: 203.3 kB / 0.6167 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.6959, allocations: 306 kB / 0.617 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.6963, allocations: 239.4 kB / 0.6172 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6963, allocations: 4 kB / 0.6172 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001039/0.6974, allocations: 0.6588 MB / 0.6179 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.6974, allocations: 153.3 kB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6975, allocations: 2.781 kB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.6975, allocations: 7.219 kB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.6981, allocations: 155.2 kB / 0.6182 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6981, allocations: 2.906 kB / 0.6182 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.6985, allocations: 71.28 kB / 0.6183 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.6985, allocations: 24.62 kB / 0.6183 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.6985, allocations: 5.875 kB / 0.6183 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008635/0.6994, allocations: 0.5233 MB / 0.6188 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6994, allocations: 2.969 kB / 0.6188 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.6994, allocations: 5.609 kB / 0.6188 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.6999, allocations: 150.5 kB / 0.6189 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.7, allocations: 5.812 kB / 0.619 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.7003, allocations: 70.66 kB / 0.619 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.7003, allocations: 18.25 kB / 0.619 GB, free: 32.17 MB / 0.4981 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0003031/0.7006, allocations: 297.2 kB / 0.6193 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.7007, allocations: 99.42 kB / 0.6194 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.7009, allocations: 103.1 kB / 0.6195 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.7009, allocations: 7.875 kB / 0.6195 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.701, allocations: 3.328 kB / 0.6195 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.701, allocations: 0 / 0.6195 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.7029, allocations: 1.454 MB / 0.6209 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7029, allocations: 1.125 kB / 0.6209 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.7034, allocations: 109.5 kB / 0.6211 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.7035, allocations: 3.062 kB / 0.6211 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.7035, allocations: 16.89 kB / 0.6211 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7035, allocations: 3.031 kB / 0.6211 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7035, allocations: 1.594 kB / 0.6211 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.705, allocations: 0.9741 MB / 0.622 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.7053, allocations: 231 kB / 0.6222 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.7054, allocations: 14.28 kB / 0.6223 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.7057, allocations: 39.31 kB / 0.6223 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.7058, allocations: 36.8 kB / 0.6223 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.7059, allocations: 22.42 kB / 0.6224 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005748/0.7064, allocations: 0.5106 MB / 0.6229 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7065, allocations: 0 / 0.6229 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007539/0.7072, allocations: 274.5 kB / 0.6231 GB, free: 31.06 MB / 0.4981 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001572/0.7074, allocations: 116.5 kB / 0.6232 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.7089, allocations: 0.801 MB / 0.624 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7089, allocations: 0 / 0.624 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.7094, allocations: 278.9 kB / 0.6243 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.7105, allocations: 237 kB / 0.6245 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.7129, allocations: 1.858 MB / 0.6263 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.7133, allocations: 0.9904 MB / 0.6273 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.7135, allocations: 69.91 kB / 0.6273 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.7135, allocations: 0 / 0.6273 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.0177/0.7312, allocations: 10.81 MB / 0.6379 GB, free: 27.96 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o] Error 1