Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009021/0.0009015, 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.001097/0.001097, allocations: 174.6 kB / 16.58 MB, free: 6.02 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.527/1.527, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.951/2.951, allocations: 436.7 MB / 0.7113 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003922, allocations: 8 kB / 0.8717 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8976, allocations: 153.6 MB / 1.022 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003712/0.9014, allocations: 2.698 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.9033, allocations: 0.8964 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.9037, allocations: 11.94 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.9039, allocations: 51.5 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.9041, allocations: 71.42 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.9046, allocations: 162.7 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.9051, allocations: 491.7 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.9055, allocations: 179.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.9057, allocations: 139.2 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.9059, allocations: 151.1 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.906, allocations: 12 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.906, allocations: 12 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.9061, allocations: 59.64 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.9062, allocations: 109.4 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.9066, allocations: 433 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9066, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9066, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9066, allocations: 3.938 kB / 1.027 GB, free: 11.76 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001133/0.9077, allocations: 0.7036 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.9078, allocations: 11.98 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.9079, allocations: 59.33 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.9085, allocations: 383.8 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.9085, allocations: 29 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.9086, allocations: 36 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.9093, allocations: 409.5 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.9093, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.9094, allocations: 16 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.9094, allocations: 8 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.9099, allocations: 263.8 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.9118, allocations: 1.336 MB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.9125, allocations: 312.1 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.9127, allocations: 146.9 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.9128, allocations: 0 / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.9132, allocations: 182.6 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.9132, allocations: 4 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0007909/0.914, allocations: 382.6 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.9141, allocations: 89.09 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.9144, allocations: 349.5 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.9145, allocations: 37.7 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.9147, allocations: 240.3 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.9148, allocations: 102.5 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.9148, allocations: 8 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9149, allocations: 354.7 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.9152, allocations: 96.7 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.9154, allocations: 172.4 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.9157, allocations: 117.6 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9157, allocations: 0 / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006032/0.9163, allocations: 346.9 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.9163, allocations: 8 kB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9163, allocations: 3.938 kB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9164, allocations: 12.14 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.9167, allocations: 63.91 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.9167, allocations: 7.984 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.9169, allocations: 43.67 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.9169, allocations: 12 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.000202/0.9171, allocations: 173.7 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.9172, allocations: 39.53 kB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.573e-05/0.9173, allocations: 44.25 kB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.9173, allocations: 4 kB / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9173, allocations: 3.953 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9173, allocations: 3.984 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.9185, allocations: 0.8076 MB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9185, allocations: 0 / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.9187, allocations: 39.98 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.9187, allocations: 4 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.9188, allocations: 11.94 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.9188, allocations: 4 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9188, allocations: 0 / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.9196, allocations: 0.5263 MB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.9197, allocations: 128.6 kB / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.9198, allocations: 4 kB / 1.035 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.92, allocations: 35.91 kB / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.9201, allocations: 23.95 kB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.9201, allocations: 12 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002568/0.9204, allocations: 243.2 kB / 1.035 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9204, allocations: 0 / 1.035 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003782/0.9208, allocations: 83.69 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001411/0.9209, allocations: 118 kB / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.9214, allocations: 267.7 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9215, allocations: 0 / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.9217, allocations: 135.8 kB / 1.036 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.9223, allocations: 91.7 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.9242, allocations: 0.995 MB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.9248, allocations: 0.8113 MB / 1.038 GB, free: 476 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.9249, allocations: 31.44 kB / 1.038 GB, free: 444 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9249, allocations: 4 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of Templates: time 0.009994/0.9349, allocations: 4.78 MB / 1.042 GB, free: 11.66 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1