Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.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.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.0007981, allocations: 87.69 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000894/0.0008941, allocations: 202.5 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002655, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1214, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3338/0.4553, allocations: 86.61 MB / 445.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03931/0.4947, allocations: 20.6 MB / 466 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006085/0.5008, allocations: 111.1 kB / 466.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.5053, allocations: 0.7764 MB / 466.9 MB, free: 20 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.52, allocations: 3.448 MB / 470.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01717/0.5372, allocations: 4.471 MB / 474.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.5517, allocations: 8.742 MB / 483.5 MB, free: 15.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004437/0.5562, allocations: 1.522 MB / 485.1 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5563/1.113, allocations: 125.9 MB / 0.5966 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.08339/1.196, allocations: 55.06 MB / 0.6504 GB, free: 128 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.197, allocations: 124 kB / 0.6505 GB, free: 4 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/1.216, allocations: 7.982 MB / 0.6583 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002709/1.219, allocations: 0.9632 MB / 0.6593 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/1.221, allocations: 0.5338 MB / 0.6598 GB, free: 8.172 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007556/1.228, allocations: 3.847 MB / 0.6636 GB, free: 5.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.228, allocations: 0 / 0.6636 GB, free: 5.031 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.384e-06/1.228, allocations: 0 / 0.6636 GB, free: 5.031 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.999e-05/1.228, allocations: 0 / 0.6636 GB, free: 5.031 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.008464/1.237, allocations: 3.029 MB / 0.6665 GB, free: 2.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.237, allocations: 8.031 kB / 0.6665 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/1.238, allocations: 311.5 kB / 0.6668 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/1.241, allocations: 1.527 MB / 0.6683 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/1.242, allocations: 215 kB / 0.6685 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/1.242, allocations: 195.5 kB / 0.6687 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/1.248, allocations: 3.289 MB / 0.6719 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/1.248, allocations: 7.375 kB / 0.6719 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/1.248, allocations: 94.91 kB / 0.672 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/1.248, allocations: 251.4 kB / 0.6722 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005226/1.254, allocations: 3.101 MB / 0.6753 GB, free: 11.73 MB / 494.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.0194/1.273, allocations: 13.8 MB / 0.6887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/1.277, allocations: 2.221 MB / 0.6909 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.279, allocations: 1.359 MB / 0.6922 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008253/1.287, allocations: 5.864 MB / 0.698 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/1.287, allocations: 55.94 kB / 0.698 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007867/1.288, allocations: 188.9 kB / 0.6982 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=171): time 3.947e-06/1.288, allocations: 0 / 0.6982 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197): time 0.02301/1.311, allocations: 9.281 MB / 0.7073 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.311, allocations: 76.31 kB / 0.7073 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/1.314, allocations: 1.828 MB / 0.7091 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/1.314, allocations: 59.77 kB / 0.7092 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007931/1.315, allocations: 1.06 MB / 0.7102 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.316, allocations: 0.6706 MB / 0.7109 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.316, allocations: 54.5 kB / 0.7109 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.316, allocations: 398.1 kB / 0.7113 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.318, allocations: 1.194 MB / 0.7125 GB, free: 13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.32, allocations: 1.777 MB / 0.7142 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.322, allocations: 1.454 MB / 0.7156 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.322, allocations: 4 kB / 0.7156 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007175/1.33, allocations: 4.213 MB / 0.7197 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/1.33, allocations: 0.5959 MB / 0.7203 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/1.33, allocations: 23.66 kB / 0.7203 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/1.343, allocations: 3.669 MB / 0.7239 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.345, allocations: 336.5 kB / 0.7243 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3061/1.651, allocations: 3.933 MB / 0.7281 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.654, allocations: 192.8 kB / 0.7283 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004683/1.655, allocations: 116 kB / 0.7284 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.655, allocations: 3.438 kB / 0.7284 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007645/1.662, allocations: 3.794 MB / 0.7321 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/1.662, allocations: 20.84 kB / 0.7321 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/1.673, allocations: 2.833 MB / 0.7349 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.675, allocations: 378.3 kB / 0.7352 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/1.683, allocations: 3.46 MB / 0.7386 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.686, allocations: 187 kB / 0.7388 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/1.686, allocations: 109.9 kB / 0.7389 GB, free: 141.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 107} Notification: Performance of prepare postOptimizeDAE: time 0.002046/1.688, allocations: 0.7019 MB / 0.7396 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/1.689, allocations: 225.2 kB / 0.7398 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009289/1.698, allocations: 3.965 MB / 0.7437 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/1.698, allocations: 22.34 kB / 0.7437 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/1.698, allocations: 6.781 kB / 0.7437 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00547/1.704, allocations: 3.38 MB / 0.747 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.715, allocations: 6.308 MB / 0.7532 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.715, allocations: 0 / 0.7532 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/1.716, allocations: 314.8 kB / 0.7535 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/1.721, allocations: 1.234 MB / 0.7547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/1.721, allocations: 72.34 kB / 0.7547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008988/1.73, allocations: 10.46 MB / 0.765 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.73, allocations: 0 / 0.765 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.741, allocations: 5.193 MB / 0.77 GB, free: 132.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.743, allocations: 0.6037 MB / 0.7706 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007842/1.744, allocations: 52.94 kB / 0.7707 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.746, allocations: 152.2 kB / 0.7708 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/1.746, allocations: 174.5 kB / 0.771 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/1.747, allocations: 87.34 kB / 0.7711 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002465/1.749, allocations: 1.239 MB / 0.7723 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.62e-07/1.749, allocations: 3.281 kB / 0.7723 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006735/1.756, allocations: 1.741 MB / 0.774 GB, free: 131.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.002876/1.759, allocations: 0.9693 MB / 0.7749 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009913/1.769, allocations: 4.965 MB / 0.7798 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.769, allocations: 0 / 0.7798 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003857/1.773, allocations: 2.237 MB / 0.782 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/1.778, allocations: 1.007 MB / 0.7829 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.788, allocations: 6.676 MB / 0.7895 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.789, allocations: 1.848 MB / 0.7913 GB, free: 119.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.79, allocations: 207.2 kB / 0.7915 GB, free: 118.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.362e-06/1.79, allocations: 0 / 0.7915 GB, free: 118.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1135/1.904, allocations: 88.73 MB / 0.8781 GB, free: 30.81 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.makefile make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.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.Fluid.Examples.HeatingSystemCalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o] Error 1