Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001379, allocations: 96.14 kB / 15.87 MB, free: 16 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.001767/0.001768, allocations: 192.9 kB / 16.79 MB, free: 6.812 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.709/1.709, allocations: 205.1 MB / 222.6 MB, free: 5.012 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.748/1.748, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001465/0.001465, allocations: 66.81 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006489/0.3673, allocations: 2.883 MB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.3712, allocations: 1.593 MB / 0.7877 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.3715, allocations: 11.94 kB / 0.7877 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.3729, allocations: 291.5 kB / 0.788 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.3734, allocations: 163.3 kB / 0.7881 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.3743, allocations: 310.5 kB / 0.7884 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.3751, allocations: 0.6832 MB / 0.7891 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.3758, allocations: 436.4 kB / 0.7895 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.3761, allocations: 247 kB / 0.7898 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.3764, allocations: 274.6 kB / 0.79 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.3765, allocations: 32 kB / 0.7901 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.3768, allocations: 83.91 kB / 0.7901 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.377, allocations: 175.4 kB / 0.7903 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.3773, allocations: 309.9 kB / 0.7906 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.3779, allocations: 0.5419 MB / 0.7911 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3779, allocations: 0 / 0.7911 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.378, allocations: 0 / 0.7911 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.378, allocations: 0 / 0.7911 GB, free: 6.012 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001752/0.3797, allocations: 1.025 MB / 0.7921 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3798, allocations: 8.031 kB / 0.7921 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3799, allocations: 83.91 kB / 0.7922 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.3807, allocations: 488.7 kB / 0.7927 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.646e-05/0.3808, allocations: 53.67 kB / 0.7927 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.3808, allocations: 60.11 kB / 0.7928 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3819, allocations: 0.613 MB / 0.7934 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3819, allocations: 3.938 kB / 0.7934 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.382, allocations: 23.94 kB / 0.7934 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.382, allocations: 15.98 kB / 0.7934 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.3828, allocations: 375.6 kB / 0.7938 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.3857, allocations: 2.564 MB / 0.7963 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.3864, allocations: 289.6 kB / 0.7966 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.3867, allocations: 140.6 kB / 0.7967 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.3867, allocations: 8 kB / 0.7967 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.3872, allocations: 213.8 kB / 0.7969 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.003e-06/0.3872, allocations: 0 / 0.7969 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0009342/0.3881, allocations: 465.4 kB / 0.7974 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.3882, allocations: 85.11 kB / 0.7974 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.389, allocations: 0.6286 MB / 0.7981 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.3891, allocations: 41.7 kB / 0.7981 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.3894, allocations: 368.3 kB / 0.7984 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.3895, allocations: 94.83 kB / 0.7985 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3897, allocations: 142.2 kB / 0.7987 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3899, allocations: 386.8 kB / 0.799 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.3902, allocations: 129.2 kB / 0.7992 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.3906, allocations: 338.9 kB / 0.7995 GB, free: 13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.3912, allocations: 413 kB / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.3912, allocations: 4 kB / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008795/0.3921, allocations: 0.5227 MB / 0.8004 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3921, allocations: 8 kB / 0.8004 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3922, allocations: 4 kB / 0.8004 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.3922, allocations: 15.94 kB / 0.8004 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3925, allocations: 75.83 kB / 0.8005 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.3925, allocations: 11.94 kB / 0.8005 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3927, allocations: 59.42 kB / 0.8006 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.3928, allocations: 24 kB / 0.8006 GB, free: 11.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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.0003554/0.3932, allocations: 262.9 kB / 0.8008 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.3932, allocations: 63.25 kB / 0.8009 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.394, allocations: 411.2 kB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.394, allocations: 4 kB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3941, allocations: 0 / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3941, allocations: 0 / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.3957, allocations: 1.063 MB / 0.8023 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3957, allocations: 0 / 0.8023 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3958, allocations: 23.92 kB / 0.8023 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3958, allocations: 4 kB / 0.8024 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3958, allocations: 12 kB / 0.8024 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3958, allocations: 0 / 0.8024 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3958, allocations: 0 / 0.8024 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.3965, allocations: 495.1 kB / 0.8028 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3967, allocations: 132.2 kB / 0.803 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.3967, allocations: 15.98 kB / 0.803 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3969, allocations: 12 kB / 0.803 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.397, allocations: 43.88 kB / 0.803 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3971, allocations: 19.98 kB / 0.803 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000466/0.3975, allocations: 415 kB / 0.8034 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3975, allocations: 4 kB / 0.8034 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004843/0.398, allocations: 127.6 kB / 0.8036 GB, free: 8.617 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001129/0.3992, allocations: 444.5 kB / 0.804 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.3999, allocations: 382.9 kB / 0.8044 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3999, allocations: 0 / 0.8044 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.4002, allocations: 179.7 kB / 0.8045 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.4008, allocations: 86.17 kB / 0.8046 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4029, allocations: 1.357 MB / 0.8059 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.4036, allocations: 0.9263 MB / 0.8068 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.4038, allocations: 47.36 kB / 0.8069 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.4038, allocations: 0 / 0.8069 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.0128/0.4166, allocations: 7.697 MB / 0.8144 GB, free: 13.67 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o] Error 1