Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008464/0.0008466, allocations: 94.14 kB / 16.95 MB, free: 5.953 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.0009648/0.0009648, allocations: 182.1 kB / 17.85 MB, free: 5.613 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.191/1.191, allocations: 223.2 MB / 241.8 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8295/0.8295, allocations: 120.5 MB / 413.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 11.98 kB / 0.4962 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.458, allocations: 82.84 MB / 0.5771 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00094/0.459, allocations: 1.084 MB / 0.5781 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.4596, allocations: 496.8 kB / 0.5786 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.4596, allocations: 0 / 0.5786 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.647e-05/0.4597, allocations: 11.86 kB / 0.5786 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.4599, allocations: 53 kB / 0.5787 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 6.607e-05/0.46, allocations: 37.02 kB / 0.5787 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.4604, allocations: 0.5005 MB / 0.5792 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.4604, allocations: 5.688 kB / 0.5792 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.4606, allocations: 201.6 kB / 0.5794 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.4609, allocations: 306 kB / 0.5797 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.461, allocations: 30.44 kB / 0.5797 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4611, allocations: 51.64 kB / 0.5798 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.4613, allocations: 244 kB / 0.58 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.4614, allocations: 92.8 kB / 0.5801 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.4616, allocations: 284.1 kB / 0.5803 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4617, allocations: 0 / 0.5803 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4617, allocations: 4 kB / 0.5804 GB, free: 40.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.4617, allocations: 2.938 kB / 0.5804 GB, free: 40.18 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001277/0.463, allocations: 0.8446 MB / 0.5812 GB, free: 39.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.463, allocations: 13.22 kB / 0.5812 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.4631, allocations: 46.2 kB / 0.5812 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.4634, allocations: 318.5 kB / 0.5815 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.4634, allocations: 33.41 kB / 0.5816 GB, free: 39.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.4635, allocations: 52.72 kB / 0.5816 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/0.4643, allocations: 0.5876 MB / 0.5822 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4643, allocations: 0 / 0.5822 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4643, allocations: 19.69 kB / 0.5822 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4643, allocations: 10.12 kB / 0.5822 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.4651, allocations: 0.5858 MB / 0.5828 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.4658, allocations: 0.626 MB / 0.5834 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.4685, allocations: 1.354 MB / 0.5847 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.469, allocations: 453.3 kB / 0.5852 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4692, allocations: 105.5 kB / 0.5853 GB, free: 37.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4692, allocations: 47.33 kB / 0.5853 GB, free: 37.18 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.793e-06/0.4692, allocations: 0 / 0.5853 GB, free: 37.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001715/0.4709, allocations: 1.347 MB / 0.5866 GB, free: 36.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.471, allocations: 60.41 kB / 0.5867 GB, free: 36.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4711, allocations: 183.2 kB / 0.5869 GB, free: 36.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4711, allocations: 41.7 kB / 0.5869 GB, free: 35.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.4712, allocations: 110.1 kB / 0.587 GB, free: 35.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4713, allocations: 402.2 kB / 0.5874 GB, free: 35.45 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.4714, allocations: 20 kB / 0.5874 GB, free: 35.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.4715, allocations: 366.8 kB / 0.5878 GB, free: 35.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.472, allocations: 466.3 kB / 0.5882 GB, free: 34.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.4725, allocations: 491.4 kB / 0.5887 GB, free: 34.13 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.4731, allocations: 0.5528 MB / 0.5892 GB, free: 33.58 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4731, allocations: 0 / 0.5892 GB, free: 33.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001318/0.4744, allocations: 1.238 MB / 0.5904 GB, free: 32.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4745, allocations: 6.5 kB / 0.5904 GB, free: 32.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4745, allocations: 0 / 0.5904 GB, free: 32.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4745, allocations: 4 kB / 0.5904 GB, free: 32.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.4753, allocations: 271.6 kB / 0.5907 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4753, allocations: 4 kB / 0.5907 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.4756, allocations: 79.17 kB / 0.5908 GB, free: 31.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.4757, allocations: 35.98 kB / 0.5908 GB, free: 31.94 MB / 462.3 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 (144): * Single equations (assignments): 144 * 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.0001638/0.4758, allocations: 213.5 kB / 0.591 GB, free: 31.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.4759, allocations: 51.42 kB / 0.591 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4776, allocations: 1.4 MB / 0.5924 GB, free: 30.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4776, allocations: 12 kB / 0.5924 GB, free: 30.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4777, allocations: 4 kB / 0.5924 GB, free: 30.24 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.4777, allocations: 7.969 kB / 0.5924 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.4783, allocations: 0.7465 MB / 0.5932 GB, free: 29.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4783, allocations: 0 / 0.5932 GB, free: 29.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.4795, allocations: 303.7 kB / 0.5935 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4795, allocations: 8 kB / 0.5935 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.4796, allocations: 43.97 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4796, allocations: 4 kB / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4796, allocations: 0 / 0.5935 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.4815, allocations: 1.854 MB / 0.5953 GB, free: 27.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.4817, allocations: 248 kB / 0.5956 GB, free: 26.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.4818, allocations: 43.97 kB / 0.5956 GB, free: 26.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.482, allocations: 20 kB / 0.5956 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.4821, allocations: 85.19 kB / 0.5957 GB, free: 26.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.4822, allocations: 43.98 kB / 0.5957 GB, free: 26.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.4823, allocations: 132.3 kB / 0.5959 GB, free: 26.64 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4823, allocations: 0 / 0.5959 GB, free: 26.64 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003947/0.4827, allocations: 232 kB / 0.5961 GB, free: 26.41 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001667/0.4828, allocations: 168.4 kB / 0.5963 GB, free: 26.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.484, allocations: 1.135 MB / 0.5974 GB, free: 25.1 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4841, allocations: 4 kB / 0.5974 GB, free: 25.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.4847, allocations: 0.6319 MB / 0.598 GB, free: 24.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4851, allocations: 113.2 kB / 0.5981 GB, free: 24.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.488, allocations: 3.392 MB / 0.6014 GB, free: 20.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.4883, allocations: 0.9306 MB / 0.6023 GB, free: 19.97 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.4886, allocations: 95.41 kB / 0.6024 GB, free: 19.88 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4886, allocations: 0 / 0.6024 GB, free: 19.88 MB / 462.3 MB Notification: Performance of Templates: time 0.008458/0.497, allocations: 9.269 MB / 0.6115 GB, free: 10.62 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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 OMCppScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20CalcHelperMain.o OMCppScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20CalcHelperMain.o] Error 1