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.01281/0.01281, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002901/0.0029, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.907/2.907, allocations: 205.1 MB / 222.7 MB, free: 4.77 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.893/1.893, allocations: 292.3 MB / 0.5491 GB, free: 13.63 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.001358/0.001358, allocations: 63.3 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3162, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006928/0.3232, allocations: 3.754 MB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.3266, allocations: 1.341 MB / 0.7883 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009818/0.3276, allocations: 31.81 kB / 0.7883 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.3282, allocations: 95.09 kB / 0.7884 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.3289, allocations: 135 kB / 0.7885 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3302, allocations: 0.5309 MB / 0.7891 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.3312, allocations: 0.894 MB / 0.7899 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.3318, allocations: 345.9 kB / 0.7903 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.3322, allocations: 318.2 kB / 0.7906 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.3326, allocations: 330 kB / 0.7909 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.3327, allocations: 36 kB / 0.7909 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.3328, allocations: 36 kB / 0.7909 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.333, allocations: 143.2 kB / 0.7911 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.3332, allocations: 337.7 kB / 0.7914 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.3339, allocations: 0.6393 MB / 0.792 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3339, allocations: 0 / 0.792 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3339, allocations: 3.938 kB / 0.792 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.3339, allocations: 0 / 0.792 GB, free: 5.047 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.002102/0.336, allocations: 1.195 MB / 0.7932 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3361, allocations: 8.031 kB / 0.7932 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3362, allocations: 91.81 kB / 0.7933 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.3372, allocations: 0.6026 MB / 0.7939 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3374, allocations: 100.9 kB / 0.794 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.3375, allocations: 56.28 kB / 0.794 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.3386, allocations: 0.6003 MB / 0.7946 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3386, allocations: 8 kB / 0.7946 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.3387, allocations: 24 kB / 0.7946 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3387, allocations: 12 kB / 0.7947 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009939/0.3397, allocations: 423.6 kB / 0.7951 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.3427, allocations: 2.114 MB / 0.7971 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.3439, allocations: 0.5029 MB / 0.7976 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.3444, allocations: 220.7 kB / 0.7978 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.3444, allocations: 8 kB / 0.7978 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/0.3452, allocations: 281.9 kB / 0.7981 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.3452, allocations: 4 kB / 0.7981 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001467/0.3467, allocations: 0.6045 MB / 0.7987 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.3468, allocations: 92.86 kB / 0.7988 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.3475, allocations: 0.6139 MB / 0.7994 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3476, allocations: 37.7 kB / 0.7994 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.3479, allocations: 368.8 kB / 0.7998 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.348, allocations: 153.8 kB / 0.7999 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3482, allocations: 94.23 kB / 0.8 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3483, allocations: 326 kB / 0.8003 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.3488, allocations: 179 kB / 0.8005 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3493, allocations: 280.2 kB / 0.8008 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.3503, allocations: 477.9 kB / 0.8012 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3503, allocations: 11.88 kB / 0.8012 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001177/0.3515, allocations: 0.5943 MB / 0.8018 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.3515, allocations: 34.64 kB / 0.8018 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3515, allocations: 4.312 kB / 0.8018 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3516, allocations: 8 kB / 0.8019 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.352, allocations: 107.8 kB / 0.802 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3521, allocations: 4 kB / 0.802 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.3524, allocations: 67.41 kB / 0.802 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.3525, allocations: 16 kB / 0.802 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005701/0.3531, allocations: 313.2 kB / 0.8023 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004623/0.3535, allocations: 268.2 kB / 0.8026 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008314/0.3544, allocations: 454 kB / 0.803 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.3544, allocations: 0 / 0.803 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00111/0.3555, allocations: 0.5825 MB / 0.8036 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3555, allocations: 29.7 kB / 0.8036 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3556, allocations: 7.938 kB / 0.8036 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.3556, allocations: 4 kB / 0.8036 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.356, allocations: 107.8 kB / 0.8037 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.356, allocations: 4.312 kB / 0.8037 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.3564, allocations: 55.56 kB / 0.8038 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3564, allocations: 23.98 kB / 0.8038 GB, free: 8.461 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.3566, allocations: 218.9 kB / 0.804 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.3567, allocations: 71.16 kB / 0.8041 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.3569, allocations: 83.33 kB / 0.8042 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3569, allocations: 4 kB / 0.8042 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3569, allocations: 4 kB / 0.8042 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3569, allocations: 0 / 0.8042 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.3577, allocations: 0.6296 MB / 0.8048 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3577, allocations: 0 / 0.8048 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3582, allocations: 91.83 kB / 0.8049 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3582, allocations: 0 / 0.8049 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3582, allocations: 11.98 kB / 0.8049 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3582, allocations: 0 / 0.8049 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3582, allocations: 0 / 0.8049 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.3597, allocations: 0.7353 MB / 0.8056 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.36, allocations: 196 kB / 0.8058 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.3601, allocations: 16 kB / 0.8058 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.3604, allocations: 27.97 kB / 0.8058 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3605, allocations: 31.95 kB / 0.8059 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3606, allocations: 19.98 kB / 0.8059 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005338/0.3611, allocations: 435 kB / 0.8063 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.21e-07/0.3611, allocations: 0 / 0.8063 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006307/0.3618, allocations: 215.3 kB / 0.8065 GB, free: 5.609 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.3619, allocations: 111.2 kB / 0.8066 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.3635, allocations: 0.7887 MB / 0.8074 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3635, allocations: 0 / 0.8074 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.364, allocations: 212.7 kB / 0.8076 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.3649, allocations: 194 kB / 0.8078 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.3672, allocations: 1.48 MB / 0.8092 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.3677, allocations: 0.9182 MB / 0.8101 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3679, allocations: 55.36 kB / 0.8102 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.3679, allocations: 0 / 0.8102 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of Templates: time 0.01374/0.3817, allocations: 8.675 MB / 0.8186 GB, free: 9.137 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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