Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 102 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.001469/0.001469, allocations: 172.8 kB / 16.58 MB, free: 6.086 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.508/1.508, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.191/1.191, allocations: 143.4 MB / 435.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003633, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 83.4 MB / 0.598 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.003973/0.2106, allocations: 3.125 MB / 0.6011 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.2132, allocations: 1.263 MB / 0.6023 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.2136, allocations: 23.88 kB / 0.6023 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.2139, allocations: 83.11 kB / 0.6024 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.2144, allocations: 143 kB / 0.6026 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2155, allocations: 465 kB / 0.603 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008591/0.2164, allocations: 0.816 MB / 0.6038 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.2168, allocations: 259.1 kB / 0.6041 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.2172, allocations: 266.5 kB / 0.6043 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2175, allocations: 262.4 kB / 0.6046 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.2176, allocations: 24 kB / 0.6046 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.095e-05/0.2176, allocations: 20 kB / 0.6046 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2178, allocations: 119.3 kB / 0.6047 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.2179, allocations: 137.3 kB / 0.6048 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.2185, allocations: 0.6392 MB / 0.6055 GB, free: 192 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2185, allocations: 0 / 0.6055 GB, free: 192 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2185, allocations: 0 / 0.6055 GB, free: 192 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2185, allocations: 0 / 0.6055 GB, free: 192 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.4076/0.6261, allocations: 1.063 MB / 0.6065 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6262, allocations: 10.16 kB / 0.6065 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.6264, allocations: 93.31 kB / 0.6066 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.6271, allocations: 0.5675 MB / 0.6072 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.6272, allocations: 99.7 kB / 0.6073 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.6273, allocations: 58.44 kB / 0.6073 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.6283, allocations: 0.6076 MB / 0.6079 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.6283, allocations: 0 / 0.6079 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.6284, allocations: 22.16 kB / 0.6079 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6284, allocations: 18.97 kB / 0.6079 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.6293, allocations: 443.1 kB / 0.6084 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.6316, allocations: 2.131 MB / 0.6104 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.6327, allocations: 0.5085 MB / 0.6109 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.6331, allocations: 230.7 kB / 0.6112 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.6332, allocations: 8.984 kB / 0.6112 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/0.6338, allocations: 289.5 kB / 0.6114 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.535e-06/0.6338, allocations: 0 / 0.6114 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00129/0.6351, allocations: 0.646 MB / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6351, allocations: 87.3 kB / 0.6122 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.6358, allocations: 0.6055 MB / 0.6128 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.6358, allocations: 35.58 kB / 0.6128 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.6361, allocations: 354.6 kB / 0.6131 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6362, allocations: 154.8 kB / 0.6133 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.6362, allocations: 11 kB / 0.6133 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.6363, allocations: 327.8 kB / 0.6136 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.6367, allocations: 180 kB / 0.6138 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.6372, allocations: 290 kB / 0.614 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.6377, allocations: 238.3 kB / 0.6143 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6377, allocations: 3.953 kB / 0.6143 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001008/0.6387, allocations: 0.6124 MB / 0.6149 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/0.6388, allocations: 191.2 kB / 0.6151 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6388, allocations: 3.406 kB / 0.6151 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6389, allocations: 7.875 kB / 0.6151 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.6393, allocations: 114.5 kB / 0.6152 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6393, allocations: 5.25 kB / 0.6152 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.6397, allocations: 69.8 kB / 0.6152 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6397, allocations: 17.69 kB / 0.6153 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.6398, allocations: 5.812 kB / 0.6153 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008335/0.6406, allocations: 0.502 MB / 0.6158 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6406, allocations: 9.234 kB / 0.6158 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.6406, allocations: 5.938 kB / 0.6158 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.641, allocations: 107.6 kB / 0.6159 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.641, allocations: 10.61 kB / 0.6159 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.6413, allocations: 54.25 kB / 0.6159 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.6414, allocations: 22.17 kB / 0.616 GB, free: 37.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003136/0.6417, allocations: 271.1 kB / 0.6162 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.6418, allocations: 70.62 kB / 0.6163 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.642, allocations: 91.12 kB / 0.6164 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.642, allocations: 6.562 kB / 0.6164 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.642, allocations: 0 / 0.6164 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.642, allocations: 3.281 kB / 0.6164 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.6427, allocations: 0.6196 MB / 0.617 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6427, allocations: 0 / 0.617 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.6431, allocations: 86.62 kB / 0.6171 GB, free: 36.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6431, allocations: 3.469 kB / 0.6171 GB, free: 36.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.6432, allocations: 14.97 kB / 0.6171 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6432, allocations: 3.953 kB / 0.6171 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6432, allocations: 4.562 kB / 0.6171 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.6445, allocations: 0.7518 MB / 0.6178 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.6447, allocations: 187 kB / 0.618 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.6447, allocations: 13.59 kB / 0.618 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.6451, allocations: 44.75 kB / 0.6181 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.6452, allocations: 36.19 kB / 0.6181 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.6452, allocations: 16.33 kB / 0.6181 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004149/0.6456, allocations: 426 kB / 0.6185 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6456, allocations: 0 / 0.6185 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005961/0.6462, allocations: 215.1 kB / 0.6187 GB, free: 36.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001304/0.6464, allocations: 112.4 kB / 0.6188 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.6477, allocations: 0.8101 MB / 0.6196 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6477, allocations: 6.578 kB / 0.6196 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.6481, allocations: 221.3 kB / 0.6198 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.649, allocations: 186.1 kB / 0.62 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.6509, allocations: 1.422 MB / 0.6214 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.6512, allocations: 0.9157 MB / 0.6223 GB, free: 34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.6514, allocations: 53.78 kB / 0.6224 GB, free: 34 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.6514, allocations: 0 / 0.6224 GB, free: 34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01456/0.666, allocations: 8.555 MB / 0.6307 GB, free: 33.21 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPIDCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1