Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 93.3 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 199.3 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002677, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004667/0.1285, allocations: 4.321 MB / 363.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1309, allocations: 1.196 MB / 364.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.1313, allocations: 15.94 kB / 364.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.1316, allocations: 111.1 kB / 364.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.1323, allocations: 277.8 kB / 364.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.1327, allocations: 167.7 kB / 364.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1339, allocations: 1.024 MB / 365.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.1344, allocations: 276.7 kB / 366.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.1349, allocations: 386.6 kB / 366.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.1354, allocations: 458.2 kB / 367 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1356, allocations: 64 kB / 367 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1357, allocations: 71.94 kB / 367.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.1359, allocations: 175.3 kB / 367.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1361, allocations: 197.3 kB / 367.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.1368, allocations: 0.8646 MB / 368.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1369, allocations: 0 / 368.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1369, allocations: 0 / 368.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1369, allocations: 0 / 368.3 MB, free: 4.5 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001975/0.1389, allocations: 1.173 MB / 369.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1389, allocations: 8.031 kB / 369.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1391, allocations: 106.9 kB / 369.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.1398, allocations: 0.5154 MB / 370.1 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.14, allocations: 154.3 kB / 370.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.1401, allocations: 63.98 kB / 370.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.1414, allocations: 0.8471 MB / 371.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1415, allocations: 0 / 371.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.1415, allocations: 28 kB / 371.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1416, allocations: 16 kB / 371.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1427, allocations: 0.5868 MB / 371.8 MB, free: 0.7773 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2623/0.405, allocations: 2.104 MB / 373.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.4075, allocations: 0.9947 MB / 374.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009415/0.4085, allocations: 381.5 kB / 375.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.4086, allocations: 18.34 kB / 375.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.4086, allocations: 49.86 kB / 375.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.436e-06/0.4086, allocations: 5.344 kB / 375.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005932/0.4146, allocations: 1.872 MB / 377.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004245/0.415, allocations: 0.823 MB / 378.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4161, allocations: 0.6356 MB / 378.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.4162, allocations: 45.45 kB / 378.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.4166, allocations: 327.4 kB / 379.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.4168, allocations: 256.9 kB / 379.3 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.4169, allocations: 12.25 kB / 379.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4171, allocations: 392.3 kB / 379.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.4177, allocations: 254.7 kB / 380 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.4187, allocations: 0.5337 MB / 380.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.4196, allocations: 395.2 kB / 380.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4196, allocations: 0 / 380.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002658/0.4223, allocations: 1.111 MB / 382 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.4224, allocations: 86.25 kB / 382.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4224, allocations: 0 / 382.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008894/0.4233, allocations: 255.5 kB / 382.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.4239, allocations: 131.6 kB / 382.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/0.4315, allocations: 6.489 MB / 388.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.4326, allocations: 106.1 kB / 389.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.4327, allocations: 27.33 kB / 389.1 MB, free: 8.445 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004407/0.4332, allocations: 220.7 kB / 389.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.4333, allocations: 85.3 kB / 389.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.4335, allocations: 91.2 kB / 389.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4336, allocations: 9.344 kB / 389.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.4336, allocations: 0.875 kB / 389.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002552/0.4361, allocations: 1.25 MB / 390.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.4403, allocations: 1.93 MB / 392.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4404, allocations: 1.938 kB / 392.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.441, allocations: 128.9 kB / 392.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006693/0.4417, allocations: 212.9 kB / 393 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4418, allocations: 20.08 kB / 393 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005555/0.4473, allocations: 4.994 MB / 398 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4474, allocations: 0.5 kB / 398 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.4504, allocations: 1.391 MB / 399.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.4509, allocations: 241.4 kB / 399.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.451, allocations: 17.41 kB / 399.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.4516, allocations: 57.8 kB / 399.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.4518, allocations: 55.11 kB / 399.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.4518, allocations: 20.98 kB / 399.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007151/0.4526, allocations: 453.3 kB / 400.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4526, allocations: 5.344 kB / 400.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4537, allocations: 273.3 kB / 400.5 MB, free: 0.7734 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.4539, allocations: 133.3 kB / 400.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.4561, allocations: 1.307 MB / 401.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4561, allocations: 1.281 kB / 401.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.4572, allocations: 0.7023 MB / 402.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.4582, allocations: 232.5 kB / 402.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.4619, allocations: 1.946 MB / 404.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.4626, allocations: 0.9324 MB / 405.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.4628, allocations: 66.55 kB / 405.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4629, allocations: 4 kB / 405.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of Templates: time 0.03418/0.497, allocations: 21.93 MB / 427.7 MB, free: 7.82 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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 OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCoolingCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCoolingCalcHelperMain.o] Error 1