Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 92.02 kB / 16.33 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 188.9 kB / 17.23 MB, free: 5.496 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.679/1.679, allocations: 223.2 MB / 241.2 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7539/0.7539, allocations: 114.3 MB / 406.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004022, allocations: 8 kB / 494.4 MB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4692, allocations: 77.25 MB / 0.5583 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001561/0.4708, allocations: 1.236 MB / 0.5595 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002973/0.4711, allocations: 106.7 kB / 0.5596 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.4712, allocations: 2.25 kB / 0.5596 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.4713, allocations: 7.594 kB / 0.5596 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.163e-05/0.4713, allocations: 5.219 kB / 0.5596 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.4715, allocations: 25.88 kB / 0.5596 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.4716, allocations: 51.64 kB / 0.5597 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.4718, allocations: 19.81 kB / 0.5597 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.4718, allocations: 20.8 kB / 0.5597 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.4719, allocations: 22.09 kB / 0.5598 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.4719, allocations: 3.375 kB / 0.5598 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.472, allocations: 6.25 kB / 0.5598 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.472, allocations: 15.81 kB / 0.5598 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.4721, allocations: 27.89 kB / 0.5598 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/0.4722, allocations: 48.25 kB / 0.5599 GB, free: 35.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4722, allocations: 4 kB / 0.5599 GB, free: 35.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4722, allocations: 1.188 kB / 0.5599 GB, free: 35.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.4722, allocations: 0 / 0.5599 GB, free: 35.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005073/0.4727, allocations: 380.7 kB / 0.5602 GB, free: 35.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4728, allocations: 17.19 kB / 0.5602 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4728, allocations: 10.44 kB / 0.5602 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.473, allocations: 176.5 kB / 0.5604 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.473, allocations: 5.875 kB / 0.5604 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.473, allocations: 6.562 kB / 0.5604 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.4733, allocations: 108.2 kB / 0.5605 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4734, allocations: 1.875 kB / 0.5605 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4734, allocations: 1.281 kB / 0.5605 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4734, allocations: 2.078 kB / 0.5605 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.4737, allocations: 102.4 kB / 0.5606 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.4744, allocations: 338.5 kB / 0.561 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.4746, allocations: 69.38 kB / 0.561 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.4748, allocations: 51.47 kB / 0.5611 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.4749, allocations: 1.906 kB / 0.5611 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4749, allocations: 43.88 kB / 0.5611 GB, free: 34.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.4749, allocations: 0 / 0.5611 GB, free: 34.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006617/0.4756, allocations: 172.4 kB / 0.5613 GB, free: 34.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.4756, allocations: 52.41 kB / 0.5613 GB, free: 34.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.4758, allocations: 117.9 kB / 0.5614 GB, free: 34.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4758, allocations: 25.7 kB / 0.5615 GB, free: 34.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.4758, allocations: 93.59 kB / 0.5616 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.4759, allocations: 15.17 kB / 0.5616 GB, free: 34.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.4759, allocations: 6.406 kB / 0.5616 GB, free: 34.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.476, allocations: 323.1 kB / 0.5619 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.4761, allocations: 42.78 kB / 0.5619 GB, free: 34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4763, allocations: 47.58 kB / 0.562 GB, free: 34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4764, allocations: 43.27 kB / 0.562 GB, free: 34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4764, allocations: 1.594 kB / 0.562 GB, free: 34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003423/0.4768, allocations: 134.2 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4768, allocations: 4.594 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4768, allocations: 4.922 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4769, allocations: 1.688 kB / 0.5621 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.477, allocations: 22.66 kB / 0.5622 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.477, allocations: 3.984 kB / 0.5622 GB, free: 33.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.4771, allocations: 15.86 kB / 0.5622 GB, free: 33.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4772, allocations: 2.312 kB / 0.5622 GB, free: 33.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.487e-05/0.4773, allocations: 122 kB / 0.5623 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4773, allocations: 3.344 kB / 0.5623 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.4777, allocations: 130.8 kB / 0.5624 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4777, allocations: 5.031 kB / 0.5624 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4778, allocations: 6.141 kB / 0.5624 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4778, allocations: 0 / 0.5624 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.478, allocations: 181.6 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.478, allocations: 2.531 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4781, allocations: 20.69 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4781, allocations: 3.844 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4781, allocations: 0.7031 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4781, allocations: 2.25 kB / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4781, allocations: 0 / 0.5626 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.4786, allocations: 227 kB / 0.5629 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.4786, allocations: 84.19 kB / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4786, allocations: 5.797 kB / 0.563 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4788, allocations: 18.22 kB / 0.563 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4788, allocations: 3.375 kB / 0.563 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4788, allocations: 3.641 kB / 0.563 GB, free: 33.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.4789, allocations: 93.95 kB / 0.5631 GB, free: 33.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 4.594 kB / 0.5631 GB, free: 33.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.4791, allocations: 13.16 kB / 0.5631 GB, free: 33.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001499/0.4793, allocations: 97.84 kB / 0.5632 GB, free: 33.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.4797, allocations: 97.48 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4797, allocations: 0 / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.4799, allocations: 50.61 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.4802, allocations: 7.359 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.4806, allocations: 196.8 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.4808, allocations: 0.69 MB / 0.5642 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.4808, allocations: 10.33 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4808, allocations: 1.188 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of Templates: time 0.003101/0.4839, allocations: 0.9248 MB / 0.5651 GB, free: 32.21 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1