Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 98.89 kB / 15.71 MB, free: 452 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.001143/0.001143, allocations: 181 kB / 16.58 MB, free: 6.422 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.838/2.838, allocations: 436.7 MB / 0.7113 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 12.2 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7988, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004137/0.803, allocations: 3.532 MB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.8057, allocations: 1.239 MB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.8061, allocations: 27.88 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.8064, allocations: 79.22 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.8067, allocations: 142.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.8075, allocations: 293.2 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.8084, allocations: 0.8305 MB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.8088, allocations: 303.5 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.8091, allocations: 222.9 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.8094, allocations: 246.5 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.8095, allocations: 24 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.8096, allocations: 20 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.8097, allocations: 91.55 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.8098, allocations: 157.3 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.8105, allocations: 0.8083 MB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8105, allocations: 0 / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8105, allocations: 0 / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.8106, allocations: 4 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001562/0.8121, allocations: 0.9561 MB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8122, allocations: 15.98 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.8123, allocations: 86.91 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.8131, allocations: 0.533 MB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.8132, allocations: 45.3 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.8133, allocations: 60 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.8144, allocations: 0.6114 MB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8144, allocations: 7.906 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.8145, allocations: 20 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.8145, allocations: 16 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/0.8154, allocations: 469 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.8182, allocations: 2.016 MB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.8191, allocations: 453 kB / 1.035 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.8196, allocations: 250.1 kB / 1.035 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.8196, allocations: 8.438 kB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/0.8202, allocations: 261.3 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=49): time 3.366e-06/0.8202, allocations: 0 / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49): time 0.001247/0.8215, allocations: 0.596 MB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.8215, allocations: 55.84 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.822, allocations: 442 kB / 1.036 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.8221, allocations: 37.7 kB / 1.036 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.8223, allocations: 324.9 kB / 1.037 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.8225, allocations: 169.6 kB / 1.037 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.8225, allocations: 12 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8227, allocations: 366.7 kB / 1.037 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.823, allocations: 169 kB / 1.037 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.8234, allocations: 253.8 kB / 1.037 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.8238, allocations: 227.8 kB / 1.038 GB, free: 388 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8239, allocations: 0 / 1.038 GB, free: 388 kB / 0.7794 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009997/0.8249, allocations: 0.5702 MB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.8249, allocations: 37.94 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8249, allocations: 8 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.825, allocations: 4 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.8255, allocations: 115.8 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.8255, allocations: 4 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.8258, allocations: 75.44 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.8259, allocations: 19.98 kB / 1.039 GB, free: 15.53 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002846/0.8262, allocations: 209.7 kB / 1.039 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.8263, allocations: 59.33 kB / 1.039 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.8264, allocations: 61.59 kB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8264, allocations: 8 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.8264, allocations: 0 / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.8264, allocations: 7.984 kB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.8281, allocations: 1.189 MB / 1.04 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8281, allocations: 4 kB / 1.04 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.8286, allocations: 95.88 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.8286, allocations: 4 kB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.8286, allocations: 8 kB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8287, allocations: 4 kB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8287, allocations: 0 / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.8299, allocations: 0.7719 MB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.8301, allocations: 172.3 kB / 1.041 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.8302, allocations: 16 kB / 1.041 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.8305, allocations: 27.97 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.8306, allocations: 36.38 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.8306, allocations: 16 kB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003562/0.831, allocations: 306.9 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.831, allocations: 0 / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004703/0.8315, allocations: 147.4 kB / 1.042 GB, free: 12.31 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001456/0.8316, allocations: 115.1 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009212/0.8326, allocations: 493.5 kB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8326, allocations: 0 / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.833, allocations: 218.4 kB / 1.042 GB, free: 11.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.8337, allocations: 143.8 kB / 1.042 GB, free: 11.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.8365, allocations: 1.654 MB / 1.044 GB, free: 9.641 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.8369, allocations: 0.894 MB / 1.045 GB, free: 8.723 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.8371, allocations: 39.44 kB / 1.045 GB, free: 8.688 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/0.8371, allocations: 0 / 1.045 GB, free: 8.688 MB / 0.795 GB Notification: Performance of Templates: time 0.01297/0.8501, allocations: 7.506 MB / 1.052 GB, free: 1.223 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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_latest_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1