Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01845/0.01845, allocations: 101 kB / 15.88 MB, free: 5.867 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.002968/0.002968, allocations: 190.7 kB / 16.79 MB, free: 5.809 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.814/2.814, 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.003792/0.003792, allocations: 290.8 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.793/1.793, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 91.45 kB / 0.5951 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3748, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.004262/0.3792, allocations: 0.6415 MB / 0.6807 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.3797, allocations: 44.5 kB / 0.6808 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.3798, allocations: 1.969 kB / 0.6808 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.3798, allocations: 0 / 0.6808 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.38, allocations: 0 / 0.6808 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3803, allocations: 11.98 kB / 0.6808 GB, free: 476 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.3804, allocations: 4 kB / 0.6808 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.3804, allocations: 4 kB / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.3805, allocations: 7.969 kB / 0.6808 GB, free: 460 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.3806, allocations: 4 kB / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.3806, allocations: 0 / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3807, allocations: 19.92 kB / 0.6808 GB, free: 436 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3808, allocations: 7.938 kB / 0.6808 GB, free: 428 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3809, allocations: 7.938 kB / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.381, allocations: 15.98 kB / 0.6808 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.381, allocations: 0 / 0.6808 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.381, allocations: 0 / 0.6808 GB, free: 404 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3811, allocations: 4 kB / 0.6808 GB, free: 400 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006977/0.3818, allocations: 349.7 kB / 0.6812 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.17e-05/0.3819, allocations: 8.031 kB / 0.6812 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.382, allocations: 4.938 kB / 0.6812 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3822, allocations: 168.3 kB / 0.6814 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3822, allocations: 384 / 0.6814 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3822, allocations: 4.359 kB / 0.6814 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3825, allocations: 58.19 kB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3825, allocations: 192 / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.3826, allocations: 15.88 kB / 0.6814 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.3826, allocations: 4 kB / 0.6814 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.963e-05/0.3827, allocations: 23.98 kB / 0.6815 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.3834, allocations: 264.8 kB / 0.6817 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.3835, allocations: 18.58 kB / 0.6817 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.3835, allocations: 4.859 kB / 0.6817 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3836, allocations: 4.062 kB / 0.6817 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/0.3836, allocations: 38.5 kB / 0.6818 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/0.3837, allocations: 0 / 0.6818 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003271/0.384, allocations: 67.39 kB / 0.6818 GB, free: 15.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3841, allocations: 85.05 kB / 0.6819 GB, free: 15.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3843, allocations: 113.8 kB / 0.682 GB, free: 14.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3843, allocations: 25.7 kB / 0.6821 GB, free: 14.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3845, allocations: 107.8 kB / 0.6822 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3845, allocations: 4.125 kB / 0.6822 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.3846, allocations: 25.62 kB / 0.6822 GB, free: 14.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3848, allocations: 322.8 kB / 0.6825 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.3849, allocations: 8 kB / 0.6825 GB, free: 14.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.385, allocations: 70.8 kB / 0.6826 GB, free: 14.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3853, allocations: 130.2 kB / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3853, allocations: 0 / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003072/0.3856, allocations: 115.2 kB / 0.6828 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/0.3857, allocations: 33.7 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3857, allocations: 0 / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3858, allocations: 4 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3859, allocations: 19.92 kB / 0.6829 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.386, allocations: 256 / 0.6829 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3861, allocations: 15.94 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.3862, allocations: 8 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * 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.0004092/0.3866, allocations: 144.8 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.3867, allocations: 11.91 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3867, allocations: 3.531 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3867, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3867, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3867, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.3873, allocations: 157.6 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3873, allocations: 4 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.3873, allocations: 4 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3873, allocations: 3.938 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3874, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3874, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3874, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.3878, allocations: 165.2 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.3879, allocations: 89.14 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.388, allocations: 0 / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3881, allocations: 3.984 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3881, allocations: 3.984 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3882, allocations: 4 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.399e-05/0.3883, allocations: 87.73 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3883, allocations: 0 / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.3888, allocations: 19.92 kB / 0.6835 GB, free: 13.2 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): 0 * 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 Backend phase and start with SimCode phase: time 0.0003949/0.3892, allocations: 107.2 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.3896, allocations: 91.2 kB / 0.6837 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3896, allocations: 3.938 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.3897, allocations: 55.41 kB / 0.6838 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.3902, allocations: 4 kB / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.3908, allocations: 144.9 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3914, allocations: 0.6809 MB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3915, allocations: 11.44 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3915, allocations: 0 / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Templates: time 0.004213/0.3957, allocations: 0.6609 MB / 0.6853 GB, free: 11.37 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegrationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o] Error 1