Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 107.9 kB / 17.8 MB, free: 5.559 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.0009902/0.0009902, allocations: 201.9 kB / 18.73 MB, free: 4.637 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.935/1.935, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001414/0.001414, allocations: 48.41 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006351/0.1432, allocations: 3.528 MB / 330.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1451, allocations: 0.9865 MB / 331.8 MB, free: 364 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1453, allocations: 11.94 kB / 331.8 MB, free: 352 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1456, allocations: 79.44 kB / 331.8 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.146, allocations: 162.8 kB / 332 MB, free: 108 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1462, allocations: 107.8 kB / 332.1 MB, free: 0 / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.1468, allocations: 0.6068 MB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1471, allocations: 170.9 kB / 332.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1474, allocations: 227.1 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1477, allocations: 262.8 kB / 333.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.1478, allocations: 40 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.1479, allocations: 40 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.148, allocations: 107.5 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1482, allocations: 278.7 kB / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1487, allocations: 486.8 kB / 334.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1487, allocations: 3.938 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1487, allocations: 0 / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.1487, allocations: 0 / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001517/0.1503, allocations: 0.8429 MB / 335.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1503, allocations: 8.031 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.1504, allocations: 68.19 kB / 335.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1511, allocations: 390.7 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1512, allocations: 54.91 kB / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.1513, allocations: 44.22 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.152, allocations: 461.1 kB / 336.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.152, allocations: 0 / 336.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.1521, allocations: 16 kB / 336.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1521, allocations: 8 kB / 336.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.1527, allocations: 282.4 kB / 336.4 MB, free: 11.5 MB / 286.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.002643/0.1553, allocations: 1.294 MB / 337.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1568, allocations: 436.4 kB / 338.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1571, allocations: 136.8 kB / 338.3 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.1571, allocations: 11.98 kB / 338.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.1572, allocations: 42.55 kB / 338.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.1572, allocations: 96 / 338.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001207/0.1584, allocations: 0.6062 MB / 339 MB, free: 8.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002451/0.1587, allocations: 448.9 kB / 339.4 MB, free: 8.262 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.1592, allocations: 449.9 kB / 339.8 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.1593, allocations: 41.69 kB / 339.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1595, allocations: 228.4 kB / 340.1 MB, free: 7.539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.1596, allocations: 102.5 kB / 340.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.1597, allocations: 81.92 kB / 340.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1599, allocations: 358.8 kB / 340.6 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1601, allocations: 104.6 kB / 340.7 MB, free: 6.891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.1605, allocations: 256 kB / 341 MB, free: 6.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.161, allocations: 280.2 kB / 341.2 MB, free: 6.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.161, allocations: 0 / 341.2 MB, free: 6.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007137/0.1618, allocations: 420.9 kB / 341.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.1618, allocations: 33.7 kB / 341.7 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1618, allocations: 0 / 341.7 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.162, allocations: 49.69 kB / 341.7 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1623, allocations: 67.89 kB / 341.8 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.1652, allocations: 2.752 MB / 344.6 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.1656, allocations: 43.7 kB / 344.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.1656, allocations: 12 kB / 344.6 MB, free: 2.641 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.1659, allocations: 173.7 kB / 344.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.166, allocations: 47.44 kB / 344.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1661, allocations: 56.69 kB / 344.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1661, allocations: 4 kB / 344.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1661, allocations: 0 / 344.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009244/0.167, allocations: 0.6414 MB / 345.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1685, allocations: 0.912 MB / 346.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1685, allocations: 0 / 346.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.1688, allocations: 67.89 kB / 346.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1688, allocations: 4 kB / 346.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1689, allocations: 4 kB / 346.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1689, allocations: 0 / 346.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1689, allocations: 4 kB / 346.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.1697, allocations: 0.5152 MB / 347 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.1699, allocations: 164.5 kB / 347.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.17, allocations: 11.94 kB / 347.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1703, allocations: 15.98 kB / 347.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.1704, allocations: 23.91 kB / 347.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1704, allocations: 8 kB / 347.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.1708, allocations: 327.2 kB / 347.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1708, allocations: 0 / 347.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1712, allocations: 131.8 kB / 347.7 MB, free: 15.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0001802/0.1714, allocations: 107.1 kB / 347.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009914/0.1724, allocations: 0.559 MB / 348.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.1725, allocations: 8.062 kB / 348.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.1727, allocations: 119.9 kB / 348.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.1735, allocations: 121.9 kB / 348.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1753, allocations: 1.054 MB / 349.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.1758, allocations: 0.8198 MB / 350.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.176, allocations: 47.44 kB / 350.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.176, allocations: 0 / 350.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01172/0.1877, allocations: 8.226 MB / 358.8 MB, free: 4.18 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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 OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o] Error 1