Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009168, allocations: 93.97 kB / 17.58 MB, free: 5.805 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.001007/0.001007, allocations: 181.6 kB / 18.48 MB, free: 5.254 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.665/1.665, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0005102/0.0005102, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4595/0.5744, allocations: 194.3 MB / 0.511 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.5921, allocations: 12.39 MB / 0.5231 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.5935, allocations: 23.81 kB / 0.5231 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5947, allocations: 333.9 kB / 0.5235 GB, free: 10.84 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009598/0.6043, allocations: 2.875 MB / 0.5263 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00703/0.6113, allocations: 2.151 MB / 0.5284 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.6158, allocations: 3.128 MB / 0.5314 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.617, allocations: 0.6279 MB / 0.532 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3184/0.9354, allocations: 2.634 MB / 0.5346 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.9391, allocations: 1.054 MB / 0.5356 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.9395, allocations: 59.89 kB / 0.5357 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.9566, allocations: 5.599 MB / 0.5412 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.9581, allocations: 491.5 kB / 0.5416 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007349/0.9588, allocations: 243.4 kB / 0.5419 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008943/0.9678, allocations: 3.23 MB / 0.545 GB, free: 6.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.9678, allocations: 6.219 kB / 0.545 GB, free: 6.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.9679, allocations: 0 / 0.545 GB, free: 6.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.9679, allocations: 1.969 kB / 0.545 GB, free: 6.266 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006353/0.9742, allocations: 1.913 MB / 0.5469 GB, free: 5.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9743, allocations: 8.906 kB / 0.5469 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.9748, allocations: 129.8 kB / 0.547 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.9764, allocations: 0.672 MB / 0.5477 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.9766, allocations: 128 kB / 0.5478 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.9767, allocations: 89.41 kB / 0.5479 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.979, allocations: 1.454 MB / 0.5493 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.9791, allocations: 7.25 kB / 0.5493 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9792, allocations: 38.08 kB / 0.5493 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-05/0.9793, allocations: 75.48 kB / 0.5494 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.9816, allocations: 1.464 MB / 0.5509 GB, free: 20.62 MB / 446.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.008855/0.9904, allocations: 6.352 MB / 0.5571 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.9923, allocations: 0.9958 MB / 0.558 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.9931, allocations: 0.5132 MB / 0.5585 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.9952, allocations: 2.07 MB / 0.5605 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.9952, allocations: 45.06 kB / 0.5606 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006263/0.9959, allocations: 106.1 kB / 0.5607 GB, free: 14.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.246e-06/0.9959, allocations: 2.906 kB / 0.5607 GB, free: 14.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01448/1.01, allocations: 4.96 MB / 0.5655 GB, free: 14.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/1.011, allocations: 113.7 kB / 0.5656 GB, free: 14.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/1.012, allocations: 0.7675 MB / 0.5664 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.012, allocations: 49.55 kB / 0.5664 GB, free: 14.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/1.012, allocations: 452.6 kB / 0.5669 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.012, allocations: 343.1 kB / 0.5672 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/1.012, allocations: 25.41 kB / 0.5672 GB, free: 13.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/1.013, allocations: 406.3 kB / 0.5676 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.014, allocations: 0.6055 MB / 0.5682 GB, free: 13.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/1.015, allocations: 0.956 MB / 0.5691 GB, free: 12.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.016, allocations: 0.796 MB / 0.5699 GB, free: 12.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.016, allocations: 6.328 kB / 0.5699 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003534/1.02, allocations: 1.916 MB / 0.5718 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/1.02, allocations: 454.1 kB / 0.5722 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.02, allocations: 11.44 kB / 0.5722 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/1.022, allocations: 332.1 kB / 0.5726 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/1.023, allocations: 280.1 kB / 0.5728 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/1.024, allocations: 0.9164 MB / 0.5737 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.025, allocations: 108.7 kB / 0.5738 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.026, allocations: 76.44 kB / 0.5739 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.026, allocations: 6.859 kB / 0.5739 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003315/1.029, allocations: 1.814 MB / 0.5757 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.029, allocations: 11.62 kB / 0.5757 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.03, allocations: 329.9 kB / 0.576 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/1.031, allocations: 276.7 kB / 0.5763 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/1.033, allocations: 0.9199 MB / 0.5772 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.034, allocations: 109.5 kB / 0.5773 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.034, allocations: 71.11 kB / 0.5773 GB, free: 10.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008845/1.035, allocations: 440.2 kB / 0.5778 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/1.035, allocations: 93.81 kB / 0.5778 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/1.039, allocations: 1.936 MB / 0.5797 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.039, allocations: 14.53 kB / 0.5797 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.039, allocations: 0 / 0.5797 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.039, allocations: 8.781 kB / 0.5798 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/1.044, allocations: 3.047 MB / 0.5827 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.044, allocations: 2.625 kB / 0.5827 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/1.045, allocations: 181.4 kB / 0.5829 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/1.047, allocations: 397.8 kB / 0.5833 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.047, allocations: 38.16 kB / 0.5833 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/1.048, allocations: 0.8868 MB / 0.5842 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.048, allocations: 6.922 kB / 0.5842 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/1.052, allocations: 2.42 MB / 0.5866 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/1.053, allocations: 339.5 kB / 0.5869 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/1.053, allocations: 31.17 kB / 0.5869 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.054, allocations: 90.73 kB / 0.587 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.055, allocations: 72.69 kB / 0.5871 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.055, allocations: 60.61 kB / 0.5871 GB, free: 8.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008674/1.056, allocations: 0.5447 MB / 0.5877 GB, free: 8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.056, allocations: 0 / 0.5877 GB, free: 8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00425/1.06, allocations: 1.159 MB / 0.5888 GB, free: 7.816 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004478/1.064, allocations: 1.143 MB / 0.5899 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005408/1.07, allocations: 2.628 MB / 0.5925 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.07, allocations: 4.562 kB / 0.5925 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.071, allocations: 0.7412 MB / 0.5932 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.074, allocations: 0.5006 MB / 0.5937 GB, free: 4.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/1.081, allocations: 2.986 MB / 0.5966 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/1.082, allocations: 1.121 MB / 0.5977 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/1.082, allocations: 143 kB / 0.5978 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of SimCode: time 1.804e-06/1.082, allocations: 0 / 0.5978 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of Templates: time 0.05634/1.139, allocations: 32.74 MB / 0.6298 GB, free: 108 kB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.TraceSubstances.RoomCO2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.o] Error 1