Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01112/0.01112, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.002044/0.002044, allocations: 190 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.723/2.723, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003714/0.003715, allocations: 286.1 kB / 290.9 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.927/1.927, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004148/0.004149, allocations: 97.31 kB / 0.5951 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4533, allocations: 86.98 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.00381/0.4572, allocations: 0.6435 MB / 0.6807 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005388/0.4578, allocations: 48.73 kB / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.4578, allocations: 0 / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.4579, allocations: 0 / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.927e-06/0.4579, allocations: 0.625 kB / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.4584, allocations: 17.95 kB / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.4585, allocations: 0 / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.4586, allocations: 0 / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.4586, allocations: 0 / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.4587, allocations: 7.984 kB / 0.6808 GB, free: 444 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4588, allocations: 4 kB / 0.6808 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.459, allocations: 19.97 kB / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.459, allocations: 0 / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.4591, allocations: 4 kB / 0.6808 GB, free: 416 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4593, allocations: 15.98 kB / 0.6808 GB, free: 400 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4593, allocations: 3.938 kB / 0.6808 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4593, allocations: 0 / 0.6808 GB, free: 396 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4593, allocations: 0 / 0.6808 GB, free: 396 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007469/0.4601, allocations: 311.7 kB / 0.6811 GB, free: 32 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.708e-05/0.4602, allocations: 12.02 kB / 0.6811 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.4608, allocations: 24.95 kB / 0.6812 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.461, allocations: 160.4 kB / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4611, allocations: 384 / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.4611, allocations: 384 / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.4614, allocations: 38.2 kB / 0.6814 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4614, allocations: 192 / 0.6814 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.4614, allocations: 3.938 kB / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4615, allocations: 4 kB / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.4616, allocations: 15.92 kB / 0.6814 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.462, allocations: 145.7 kB / 0.6815 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.4622, allocations: 18.61 kB / 0.6815 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4623, allocations: 16.91 kB / 0.6816 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.4624, allocations: 0 / 0.6816 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.024e-05/0.4625, allocations: 34.56 kB / 0.6816 GB, free: 15.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.4625, allocations: 3.938 kB / 0.6816 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005247/0.463, allocations: 49.56 kB / 0.6816 GB, free: 15.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.4631, allocations: 55.39 kB / 0.6817 GB, free: 15.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.4632, allocations: 89.86 kB / 0.6818 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.4633, allocations: 25.7 kB / 0.6818 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.4634, allocations: 84.27 kB / 0.6819 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.4635, allocations: 4.281 kB / 0.6819 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.4636, allocations: 13.72 kB / 0.6819 GB, free: 15.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.4638, allocations: 310.8 kB / 0.6822 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.4639, allocations: 7.984 kB / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.464, allocations: 4 kB / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.4642, allocations: 16.91 kB / 0.6822 GB, free: 14.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4642, allocations: 0 / 0.6822 GB, free: 14.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002225/0.4645, allocations: 45.62 kB / 0.6823 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4645, allocations: 4 kB / 0.6823 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4645, allocations: 0 / 0.6823 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.4646, allocations: 7.875 kB / 0.6823 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4647, allocations: 11.98 kB / 0.6823 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4648, allocations: 0 / 0.6823 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.4648, allocations: 11.97 kB / 0.6823 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4649, allocations: 0 / 0.6823 GB, free: 14.66 MB / 494.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 (1): * Single equations (assignments): 1 * 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.000174/0.465, allocations: 107.2 kB / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.4651, allocations: 3.984 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.4652, allocations: 7.062 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4652, allocations: 0 / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4652, allocations: 4 kB / 0.6824 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4652, allocations: 0 / 0.6824 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.4654, allocations: 141.7 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4654, allocations: 4 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.4655, allocations: 7.984 kB / 0.6826 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.4656, allocations: 3.984 kB / 0.6826 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4656, allocations: 3.938 kB / 0.6826 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.4656, allocations: 4 kB / 0.6826 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4656, allocations: 3.938 kB / 0.6826 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.4659, allocations: 73.11 kB / 0.6827 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.466, allocations: 77.11 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.4661, allocations: 3.938 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.4661, allocations: 0 / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.4662, allocations: 4 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4662, allocations: 0 / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.4663, allocations: 75.28 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4663, allocations: 0 / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.4666, allocations: 3.938 kB / 0.6828 GB, free: 14.05 MB / 494.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 (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003041/0.467, allocations: 112.8 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.4673, allocations: 15.92 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4673, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.4674, allocations: 4 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.4677, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.4682, allocations: 116.4 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.4689, allocations: 0.677 MB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.4689, allocations: 7.438 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.469, allocations: 0 / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Templates: time 0.003634/0.4726, allocations: 376.8 kB / 0.6841 GB, free: 12.69 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o] Error 1