Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009387/0.0009389, allocations: 102.6 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.0008811/0.0008816, allocations: 175.1 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.8 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005581/0.0005582, allocations: 16.5 kB / 0.6743 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.296, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003897/0.2999, allocations: 3.15 MB / 0.791 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.3027, allocations: 1.299 MB / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.3031, allocations: 23.88 kB / 0.7923 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3034, allocations: 91.09 kB / 0.7924 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.3039, allocations: 139 kB / 0.7925 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.305, allocations: 466.2 kB / 0.7929 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.3059, allocations: 0.8277 MB / 0.7938 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.3064, allocations: 247.2 kB / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.3067, allocations: 274.5 kB / 0.7942 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.3071, allocations: 254.3 kB / 0.7945 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.3071, allocations: 20 kB / 0.7945 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.3072, allocations: 20 kB / 0.7945 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3073, allocations: 115.4 kB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3074, allocations: 141.3 kB / 0.7948 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.308, allocations: 0.6236 MB / 0.7954 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.308, allocations: 4 kB / 0.7954 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.795e-06/0.308, allocations: 0 / 0.7954 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3081, allocations: 0 / 0.7954 GB, free: 4.234 MB / 0.6075 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.001846/0.3099, allocations: 1.067 MB / 0.7964 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.31, allocations: 16.03 kB / 0.7964 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3101, allocations: 94.86 kB / 0.7965 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.311, allocations: 0.5784 MB / 0.7971 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.3112, allocations: 96.41 kB / 0.7972 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.3113, allocations: 59.92 kB / 0.7972 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3123, allocations: 0.6041 MB / 0.7978 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3124, allocations: 3.938 kB / 0.7978 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.3124, allocations: 20 kB / 0.7979 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3124, allocations: 12 kB / 0.7979 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.3134, allocations: 443.6 kB / 0.7983 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.3162, allocations: 2.137 MB / 0.8004 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3174, allocations: 0.5096 MB / 0.8009 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.3179, allocations: 239.7 kB / 0.8011 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.3179, allocations: 4 kB / 0.8011 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.3186, allocations: 290 kB / 0.8014 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 3.226e-06/0.3186, allocations: 0 / 0.8014 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001481/0.3201, allocations: 0.6501 MB / 0.802 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.3202, allocations: 84.86 kB / 0.8021 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.3209, allocations: 0.6099 MB / 0.8027 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.321, allocations: 37.7 kB / 0.8027 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.3213, allocations: 360.8 kB / 0.8031 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.3214, allocations: 153.8 kB / 0.8032 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3215, allocations: 12 kB / 0.8032 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3216, allocations: 335 kB / 0.8036 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.322, allocations: 181 kB / 0.8037 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.3225, allocations: 288.2 kB / 0.804 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.323, allocations: 230.5 kB / 0.8042 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.323, allocations: 0 / 0.8042 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001116/0.3241, allocations: 0.614 MB / 0.8048 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.3242, allocations: 193.1 kB / 0.805 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3243, allocations: 3.938 kB / 0.805 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3243, allocations: 8 kB / 0.805 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.3248, allocations: 111.8 kB / 0.8051 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3248, allocations: 7.984 kB / 0.8051 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.3252, allocations: 79.36 kB / 0.8052 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3252, allocations: 19.98 kB / 0.8052 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.3252, allocations: 4 kB / 0.8052 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009057/0.3261, allocations: 0.4998 MB / 0.8057 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3261, allocations: 3.938 kB / 0.8057 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.3262, allocations: 11.98 kB / 0.8057 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.3266, allocations: 108.1 kB / 0.8058 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3266, allocations: 4 kB / 0.8058 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3269, allocations: 63.5 kB / 0.8059 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.3269, allocations: 20 kB / 0.8059 GB, free: 9.031 MB / 0.6231 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.0003448/0.3273, allocations: 271.8 kB / 0.8062 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3274, allocations: 83.02 kB / 0.8063 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.3276, allocations: 83.33 kB / 0.8063 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3276, allocations: 4 kB / 0.8063 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3276, allocations: 0 / 0.8063 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3276, allocations: 0 / 0.8063 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.3283, allocations: 0.618 MB / 0.8069 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3283, allocations: 0 / 0.8069 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.3287, allocations: 95.84 kB / 0.807 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3288, allocations: 3.938 kB / 0.807 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3288, allocations: 15.98 kB / 0.8071 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3288, allocations: 4 kB / 0.8071 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3288, allocations: 0 / 0.8071 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3302, allocations: 0.7433 MB / 0.8078 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.3305, allocations: 188.2 kB / 0.808 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.3305, allocations: 11.95 kB / 0.808 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.3309, allocations: 51.95 kB / 0.808 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.331, allocations: 27.95 kB / 0.8081 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.331, allocations: 19.98 kB / 0.8081 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004816/0.3315, allocations: 427 kB / 0.8085 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3315, allocations: 0 / 0.8085 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006193/0.3322, allocations: 215.3 kB / 0.8087 GB, free: 6.102 MB / 0.6231 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.0001631/0.3323, allocations: 123 kB / 0.8088 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.3338, allocations: 0.8012 MB / 0.8096 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3338, allocations: 0.75 kB / 0.8096 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.3343, allocations: 235.2 kB / 0.8098 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.3351, allocations: 178.9 kB / 0.81 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3372, allocations: 1.425 MB / 0.8114 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3377, allocations: 0.9144 MB / 0.8123 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3379, allocations: 51.44 kB / 0.8123 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.3379, allocations: 0 / 0.8123 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of Templates: time 0.0128/0.3507, allocations: 8.604 MB / 0.8207 GB, free: 9.727 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1