Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001403, allocations: 92.39 kB / 16.02 MB, free: 80 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.001873/0.001873, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.915/1.915, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.949/1.949, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005626/0.0005627, allocations: 11.59 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3126, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003629/0.3163, allocations: 2.619 MB / 0.7911 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3186, allocations: 1.131 MB / 0.7922 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.3188, allocations: 19.81 kB / 0.7922 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3191, allocations: 55.52 kB / 0.7923 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.3193, allocations: 59.5 kB / 0.7923 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.32, allocations: 301.8 kB / 0.7926 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.3207, allocations: 0.6521 MB / 0.7933 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.3213, allocations: 420.8 kB / 0.7937 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3215, allocations: 175.1 kB / 0.7938 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3218, allocations: 182.9 kB / 0.794 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.3218, allocations: 23.94 kB / 0.794 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.3219, allocations: 24 kB / 0.794 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.322, allocations: 87.59 kB / 0.7941 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3222, allocations: 232.3 kB / 0.7943 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.3227, allocations: 0.5376 MB / 0.7949 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3228, allocations: 0 / 0.7949 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3228, allocations: 0 / 0.7949 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3228, allocations: 4 kB / 0.7949 GB, free: 5.07 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001553/0.3243, allocations: 0.7887 MB / 0.7956 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3244, allocations: 15.97 kB / 0.7957 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3245, allocations: 60.19 kB / 0.7957 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.3251, allocations: 436.6 kB / 0.7961 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3252, allocations: 41.38 kB / 0.7962 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.3253, allocations: 52.38 kB / 0.7962 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3263, allocations: 0.5433 MB / 0.7968 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3264, allocations: 3.938 kB / 0.7968 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.3264, allocations: 20 kB / 0.7968 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3264, allocations: 12 kB / 0.7968 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.3274, allocations: 419.7 kB / 0.7972 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3298, allocations: 1.86 MB / 0.799 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.3307, allocations: 366.9 kB / 0.7994 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.3312, allocations: 180.8 kB / 0.7995 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3312, allocations: 7.938 kB / 0.7995 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/0.3318, allocations: 229.5 kB / 0.7998 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.3318, allocations: 3.938 kB / 0.7998 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001276/0.3331, allocations: 0.4985 MB / 0.8002 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3332, allocations: 59.41 kB / 0.8003 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.3336, allocations: 409.3 kB / 0.8007 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.3337, allocations: 41.7 kB / 0.8007 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3339, allocations: 252.2 kB / 0.801 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.334, allocations: 94.73 kB / 0.8011 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.3341, allocations: 65.67 kB / 0.8011 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3343, allocations: 350.8 kB / 0.8015 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.3347, allocations: 169 kB / 0.8016 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.3352, allocations: 273.8 kB / 0.8019 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/0.3361, allocations: 427.4 kB / 0.8023 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3361, allocations: 0 / 0.8023 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001133/0.3372, allocations: 0.5454 MB / 0.8028 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3373, allocations: 33.64 kB / 0.8029 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3373, allocations: 4 kB / 0.8029 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3373, allocations: 8 kB / 0.8029 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3377, allocations: 88.06 kB / 0.8029 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3377, allocations: 4 kB / 0.803 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.3381, allocations: 79.48 kB / 0.803 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.3381, allocations: 20 kB / 0.803 GB, free: 12.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.000274/0.3384, allocations: 213.6 kB / 0.8033 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.3385, allocations: 47.38 kB / 0.8033 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.3395, allocations: 410.1 kB / 0.8037 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3395, allocations: 4 kB / 0.8037 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.3395, allocations: 4 kB / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3395, allocations: 4 kB / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3412, allocations: 0.9686 MB / 0.8046 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3412, allocations: 0 / 0.8046 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.3414, allocations: 59.92 kB / 0.8047 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3415, allocations: 4 kB / 0.8047 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3415, allocations: 8 kB / 0.8047 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3415, allocations: 3.984 kB / 0.8047 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3415, allocations: 0 / 0.8047 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3428, allocations: 0.6749 MB / 0.8054 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.343, allocations: 144.6 kB / 0.8055 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3431, allocations: 11.98 kB / 0.8055 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3434, allocations: 44.02 kB / 0.8056 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3435, allocations: 43.89 kB / 0.8056 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.3436, allocations: 15.98 kB / 0.8056 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002949/0.3439, allocations: 263.2 kB / 0.8059 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3439, allocations: 0 / 0.8059 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004251/0.3443, allocations: 103.6 kB / 0.806 GB, free: 9.191 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001943/0.3445, allocations: 129.4 kB / 0.8061 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.3455, allocations: 451.1 kB / 0.8065 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3456, allocations: 0 / 0.8065 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.346, allocations: 188.5 kB / 0.8067 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.3466, allocations: 77.5 kB / 0.8068 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3482, allocations: 0.9471 MB / 0.8077 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3487, allocations: 0.8274 MB / 0.8085 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3489, allocations: 39.44 kB / 0.8086 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.3489, allocations: 0 / 0.8086 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.00912/0.358, allocations: 5.843 MB / 0.8143 GB, free: 0.6602 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o] Error 1