Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009486, 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.001288/0.001288, allocations: 175.8 kB / 16.58 MB, free: 6.402 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.479/1.479, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 19.98 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9106, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002914/0.9136, allocations: 2.081 MB / 0.9564 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.916, allocations: 1.452 MB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.9162, allocations: 6.469 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.9171, allocations: 298.2 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.9175, allocations: 176.4 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.9182, allocations: 221.8 kB / 0.9585 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.9186, allocations: 343.7 kB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.9188, allocations: 58.83 kB / 0.9589 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.919, allocations: 137.6 kB / 0.959 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.9192, allocations: 154 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.9193, allocations: 6.375 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.9195, allocations: 57.41 kB / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.9196, allocations: 118.4 kB / 0.9594 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.9197, allocations: 95.39 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.9201, allocations: 371.2 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.9202, allocations: 0 / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9202, allocations: 0 / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9202, allocations: 1.375 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0011/0.9213, allocations: 0.7658 MB / 0.9606 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9213, allocations: 9.375 kB / 0.9606 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.9215, allocations: 66.59 kB / 0.9606 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.922, allocations: 406.1 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.922, allocations: 9.094 kB / 0.961 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.9221, allocations: 15.75 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.9224, allocations: 135.5 kB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9224, allocations: 4.953 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.9224, allocations: 5.125 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9224, allocations: 1.938 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.9226, allocations: 75.69 kB / 0.9613 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.9236, allocations: 0.5827 MB / 0.9618 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.9239, allocations: 127.9 kB / 0.962 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.924, allocations: 46.2 kB / 0.962 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.9241, allocations: 2.25 kB / 0.962 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.9243, allocations: 115 kB / 0.9621 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.444e-06/0.9243, allocations: 1.062 kB / 0.9621 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005119/0.9249, allocations: 231.9 kB / 0.9623 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.9249, allocations: 79.27 kB / 0.9624 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.9257, allocations: 0.6795 MB / 0.9631 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.9258, allocations: 32.23 kB / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.9259, allocations: 260 kB / 0.9633 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.926, allocations: 37.86 kB / 0.9634 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.926, allocations: 8.969 kB / 0.9634 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9261, allocations: 375.3 kB / 0.9638 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.9263, allocations: 75.41 kB / 0.9638 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.9265, allocations: 118.8 kB / 0.9639 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.9266, allocations: 68.05 kB / 0.964 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9266, allocations: 1.031 kB / 0.964 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004306/0.9271, allocations: 269.3 kB / 0.9643 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9271, allocations: 9.203 kB / 0.9643 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9271, allocations: 0.9375 kB / 0.9643 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9271, allocations: 2.031 kB / 0.9643 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.9273, allocations: 39.11 kB / 0.9643 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9273, allocations: 1.312 kB / 0.9643 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.9275, allocations: 25.7 kB / 0.9643 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.9275, allocations: 14.31 kB / 0.9643 GB, free: 0.5586 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002121/0.9277, allocations: 214.2 kB / 0.9646 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.9278, allocations: 60.62 kB / 0.9646 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.9279, allocations: 57.48 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9279, allocations: 2.312 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.928, allocations: 0 / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.928, allocations: 3.984 kB / 0.9647 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.9284, allocations: 374.4 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9284, allocations: 4 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.9285, allocations: 7.438 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9285, allocations: 0 / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.9285, allocations: 6.625 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9285, allocations: 0 / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9285, allocations: 1.266 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.9289, allocations: 221.8 kB / 0.9653 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.929, allocations: 133.9 kB / 0.9654 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.9291, allocations: 14.12 kB / 0.9654 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.9292, allocations: 16.8 kB / 0.9654 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.9293, allocations: 19.25 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.9293, allocations: 9.578 kB / 0.9654 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006106/0.93, allocations: 463.7 kB / 0.9659 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.93, allocations: 0 / 0.9659 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003527/0.9303, allocations: 72.5 kB / 0.966 GB, free: 15.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001107/0.9314, allocations: 431.4 kB / 0.9664 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.9318, allocations: 155.7 kB / 0.9665 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9318, allocations: 0 / 0.9665 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.932, allocations: 56.53 kB / 0.9666 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.9325, allocations: 82.91 kB / 0.9666 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.934, allocations: 0.9636 MB / 0.9676 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.9346, allocations: 0.8641 MB / 0.9684 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.9347, allocations: 25.69 kB / 0.9685 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.9347, allocations: 4 kB / 0.9685 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.01099/0.9457, allocations: 5.75 MB / 0.9741 GB, free: 10.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.o] Error 1