Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.0009961, allocations: 99.44 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.001431/0.001431, allocations: 177.9 kB / 16.58 MB, free: 6.422 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.801/1.801, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.9/1.9, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005325/0.0005327, allocations: 12.16 kB / 0.6744 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2827, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00319/0.286, allocations: 2.054 MB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.2884, allocations: 1.321 MB / 0.7912 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2886, allocations: 7.938 kB / 0.7912 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.2892, allocations: 207 kB / 0.7914 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2895, allocations: 127.4 kB / 0.7916 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.29, allocations: 126.8 kB / 0.7917 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.2904, allocations: 306.9 kB / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2906, allocations: 79.86 kB / 0.792 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.2908, allocations: 111.4 kB / 0.7922 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.291, allocations: 127.4 kB / 0.7923 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.291, allocations: 8 kB / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.2912, allocations: 51.89 kB / 0.7923 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2913, allocations: 99.59 kB / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.2914, allocations: 101.4 kB / 0.7925 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.2919, allocations: 379.1 kB / 0.7929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2919, allocations: 0 / 0.7929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2919, allocations: 4 kB / 0.7929 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2919, allocations: 0 / 0.7929 GB, free: 6.836 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001272/0.2932, allocations: 0.7427 MB / 0.7936 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2932, allocations: 12.03 kB / 0.7936 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2934, allocations: 63.2 kB / 0.7937 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.2939, allocations: 387.2 kB / 0.7941 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2939, allocations: 12.23 kB / 0.7941 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.294, allocations: 12 kB / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2943, allocations: 142.3 kB / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2943, allocations: 0 / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2943, allocations: 4 kB / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2943, allocations: 4 kB / 0.7942 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2945, allocations: 95.83 kB / 0.7943 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2956, allocations: 0.6447 MB / 0.7949 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.296, allocations: 126.7 kB / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.2961, allocations: 52.78 kB / 0.7951 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.2961, allocations: 7.938 kB / 0.7951 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.2963, allocations: 103.3 kB / 0.7952 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2963, allocations: 0 / 0.7952 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004374/0.2968, allocations: 205 kB / 0.7954 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2968, allocations: 59.28 kB / 0.7955 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.2976, allocations: 0.6514 MB / 0.7961 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2977, allocations: 29.7 kB / 0.7961 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.298, allocations: 264.3 kB / 0.7964 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.298, allocations: 35.56 kB / 0.7964 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2981, allocations: 0 / 0.7964 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002796/0.2983, allocations: 374.7 kB / 0.7968 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2985, allocations: 75.97 kB / 0.7968 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.2987, allocations: 123.3 kB / 0.797 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.2988, allocations: 71.98 kB / 0.797 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2988, allocations: 0 / 0.797 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004315/0.2993, allocations: 271.2 kB / 0.7973 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2993, allocations: 8 kB / 0.7973 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2993, allocations: 0 / 0.7973 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2993, allocations: 0 / 0.7973 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.2995, allocations: 47.97 kB / 0.7973 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2995, allocations: 0 / 0.7973 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2998, allocations: 35.77 kB / 0.7974 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2998, allocations: 12 kB / 0.7974 GB, free: 1.984 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002301/0.3001, allocations: 201.7 kB / 0.7976 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.3001, allocations: 55.34 kB / 0.7976 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3002, allocations: 56.66 kB / 0.7977 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3003, allocations: 0 / 0.7977 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3003, allocations: 0 / 0.7977 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3003, allocations: 4 kB / 0.7977 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.3007, allocations: 377.3 kB / 0.7981 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3007, allocations: 0 / 0.7981 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.3007, allocations: 11.98 kB / 0.7981 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3008, allocations: 0 / 0.7981 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3008, allocations: 8 kB / 0.7981 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3008, allocations: 0 / 0.7981 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3008, allocations: 4 kB / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.3012, allocations: 260.6 kB / 0.7983 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3014, allocations: 136.4 kB / 0.7985 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.3014, allocations: 8 kB / 0.7985 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3015, allocations: 15.98 kB / 0.7985 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.3016, allocations: 27.97 kB / 0.7985 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3016, allocations: 7.984 kB / 0.7985 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004777/0.3021, allocations: 426.8 kB / 0.7989 GB, free: 332 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 0.7989 GB, free: 332 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002973/0.3024, allocations: 56 kB / 0.799 GB, free: 276 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001041/0.3035, allocations: 425.4 kB / 0.7994 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.3039, allocations: 151.9 kB / 0.7995 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3039, allocations: 0 / 0.7995 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.304, allocations: 59.91 kB / 0.7996 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3044, allocations: 69.34 kB / 0.7996 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3059, allocations: 0.9808 MB / 0.8006 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.3064, allocations: 0.8575 MB / 0.8014 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.3065, allocations: 31.42 kB / 0.8015 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3065, allocations: 0 / 0.8015 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.00937/0.3158, allocations: 5.429 MB / 0.8068 GB, free: 8.398 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o] Error 1