Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 87.45 kB / 17.58 MB, free: 6.219 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.001288/0.001288, allocations: 188.1 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3257/0.4382, allocations: 86.51 MB / 415.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03295/0.4712, allocations: 20.56 MB / 436 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004456/0.4757, allocations: 109.3 kB / 436.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.479, allocations: 0.7721 MB / 436.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.4917, allocations: 3.436 MB / 440.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.506, allocations: 4.438 MB / 444.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.5199, allocations: 8.707 MB / 453.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003843/0.5238, allocations: 1.51 MB / 455 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5179/1.042, allocations: 125.8 MB / 0.5672 GB, free: 74.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07186/1.114, allocations: 55.01 MB / 0.621 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009403/1.115, allocations: 124 kB / 0.6211 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/1.13, allocations: 7.953 MB / 0.6288 GB, free: 20.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/1.132, allocations: 0.9634 MB / 0.6298 GB, free: 20.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.133, allocations: 0.5258 MB / 0.6303 GB, free: 19.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/1.14, allocations: 3.844 MB / 0.634 GB, free: 16.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.14, allocations: 0 / 0.634 GB, free: 16.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.14, allocations: 2.625 kB / 0.634 GB, free: 16.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.529e-05/1.14, allocations: 0 / 0.634 GB, free: 16.81 MB / 430.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.007188/1.148, allocations: 3.018 MB / 0.637 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.148, allocations: 8.031 kB / 0.637 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.149, allocations: 308.6 kB / 0.6373 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/1.151, allocations: 1.522 MB / 0.6388 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/1.151, allocations: 221 kB / 0.639 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/1.152, allocations: 199.2 kB / 0.6392 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/1.157, allocations: 3.28 MB / 0.6424 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/1.157, allocations: 15.84 kB / 0.6424 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/1.157, allocations: 81.69 kB / 0.6425 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002758/1.157, allocations: 253.1 kB / 0.6427 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/1.162, allocations: 3.099 MB / 0.6458 GB, free: 7.508 MB / 430.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.01735/1.179, allocations: 13.81 MB / 0.6592 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/1.183, allocations: 2.219 MB / 0.6614 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/1.186, allocations: 1.355 MB / 0.6627 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009984/1.196, allocations: 5.859 MB / 0.6684 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.196, allocations: 52.31 kB / 0.6685 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008829/1.196, allocations: 195.5 kB / 0.6687 GB, free: 3.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 3.957e-06/1.196, allocations: 0 / 0.6687 GB, free: 3.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.02164/1.218, allocations: 9.294 MB / 0.6778 GB, free: 12.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.218, allocations: 69.41 kB / 0.6778 GB, free: 12.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/1.221, allocations: 1.833 MB / 0.6796 GB, free: 10.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/1.222, allocations: 61.7 kB / 0.6797 GB, free: 10.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.223, allocations: 1.067 MB / 0.6807 GB, free: 9.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006768/1.223, allocations: 0.6762 MB / 0.6814 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.224, allocations: 48 kB / 0.6814 GB, free: 8.602 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/1.224, allocations: 398.7 kB / 0.6818 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/1.226, allocations: 1.191 MB / 0.683 GB, free: 7.012 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/1.228, allocations: 1.779 MB / 0.6847 GB, free: 4.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/1.23, allocations: 1.451 MB / 0.6861 GB, free: 3.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.23, allocations: 4 kB / 0.6861 GB, free: 3.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007042/1.237, allocations: 4.216 MB / 0.6902 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004621/1.238, allocations: 0.604 MB / 0.6908 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.238, allocations: 20 kB / 0.6908 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/1.25, allocations: 3.669 MB / 0.6944 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.252, allocations: 331.2 kB / 0.6947 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/1.259, allocations: 3.942 MB / 0.6986 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.261, allocations: 183.8 kB / 0.6988 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/1.261, allocations: 120 kB / 0.6989 GB, free: 6.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.261, allocations: 4 kB / 0.6989 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006375/1.268, allocations: 3.792 MB / 0.7026 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/1.268, allocations: 20 kB / 0.7026 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2476/1.515, allocations: 2.83 MB / 0.7054 GB, free: 200.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/1.517, allocations: 375 kB / 0.7057 GB, free: 200.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/1.524, allocations: 3.465 MB / 0.7091 GB, free: 200.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.526, allocations: 190 kB / 0.7093 GB, free: 200.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/1.527, allocations: 110.9 kB / 0.7094 GB, free: 200.2 MB / 478.1 MB 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.001605/1.528, allocations: 0.7036 MB / 0.7101 GB, free: 200 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/1.529, allocations: 227.5 kB / 0.7103 GB, free: 200 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008744/1.538, allocations: 3.963 MB / 0.7142 GB, free: 199 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/1.538, allocations: 28.3 kB / 0.7142 GB, free: 199 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/1.538, allocations: 3.516 kB / 0.7142 GB, free: 199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005839/1.543, allocations: 3.382 MB / 0.7175 GB, free: 197.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.554, allocations: 6.303 MB / 0.7237 GB, free: 195.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.554, allocations: 3.375 kB / 0.7237 GB, free: 195.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.555, allocations: 310.6 kB / 0.724 GB, free: 195.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/1.559, allocations: 1.236 MB / 0.7252 GB, free: 194.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/1.559, allocations: 69.47 kB / 0.7252 GB, free: 194.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008157/1.567, allocations: 10.45 MB / 0.7354 GB, free: 185.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.567, allocations: 0 / 0.7354 GB, free: 185.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008832/1.576, allocations: 5.195 MB / 0.7405 GB, free: 182.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.578, allocations: 0.5973 MB / 0.7411 GB, free: 181.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008646/1.579, allocations: 60.72 kB / 0.7412 GB, free: 181.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.581, allocations: 147.6 kB / 0.7413 GB, free: 181.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.582, allocations: 173.7 kB / 0.7415 GB, free: 181.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.582, allocations: 75.95 kB / 0.7415 GB, free: 181.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002085/1.584, allocations: 1.245 MB / 0.7428 GB, free: 180.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.584, allocations: 0 / 0.7428 GB, free: 180.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007112/1.591, allocations: 1.739 MB / 0.7445 GB, free: 178.6 MB / 478.1 MB 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.004153/1.595, allocations: 0.9659 MB / 0.7454 GB, free: 177.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.605, allocations: 4.976 MB / 0.7503 GB, free: 172.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.605, allocations: 0 / 0.7503 GB, free: 172.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003998/1.609, allocations: 2.238 MB / 0.7524 GB, free: 170.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.614, allocations: 0.9906 MB / 0.7534 GB, free: 169.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/1.623, allocations: 6.681 MB / 0.7599 GB, free: 163.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.624, allocations: 1.856 MB / 0.7617 GB, free: 161.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/1.625, allocations: 203.4 kB / 0.7619 GB, free: 161.1 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/1.625, allocations: 0 / 0.7619 GB, free: 161.1 MB / 478.1 MB Notification: Performance of Templates: time 0.08934/1.714, allocations: 88.4 MB / 0.8483 GB, free: 72.47 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.HeatingSystemCalcHelperMain.o] Error 1