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.0009605/0.0009606, allocations: 97.08 kB / 17.96 MB, free: 5.328 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.001101/0.001101, allocations: 178.8 kB / 18.86 MB, free: 4.645 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.98/1.98, allocations: 205.4 MB / 225 MB, free: 12.93 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.0006159/0.0006155, allocations: 8.469 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1273, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.6111/0.7384, allocations: 209.7 MB / 0.5266 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4035/1.142, allocations: 13.51 MB / 0.5398 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/1.143, allocations: 24.59 kB / 0.5399 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/1.145, allocations: 413.3 kB / 0.5403 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/1.157, allocations: 3.166 MB / 0.5433 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007802/1.165, allocations: 2.457 MB / 0.5457 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005798/1.171, allocations: 3.781 MB / 0.5494 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/1.172, allocations: 0.6579 MB / 0.5501 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008294/1.18, allocations: 2.791 MB / 0.5528 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/1.184, allocations: 1.09 MB / 0.5539 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/1.184, allocations: 60.94 kB / 0.5539 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/1.199, allocations: 6.874 MB / 0.5606 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/1.2, allocations: 486.4 kB / 0.5611 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/1.202, allocations: 0.6073 MB / 0.5617 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008885/1.211, allocations: 3.422 MB / 0.565 GB, free: 16.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.211, allocations: 0 / 0.565 GB, free: 16.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/1.211, allocations: 0 / 0.565 GB, free: 16.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/1.211, allocations: 0 / 0.565 GB, free: 16.68 MB / 446.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.005622/1.216, allocations: 1.898 MB / 0.5669 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.216, allocations: 11.38 kB / 0.5669 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/1.217, allocations: 123.4 kB / 0.567 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.218, allocations: 0.6898 MB / 0.5677 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.218, allocations: 127.9 kB / 0.5678 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.218, allocations: 88.48 kB / 0.5679 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/1.221, allocations: 1.476 MB / 0.5693 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.221, allocations: 1.969 kB / 0.5693 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.221, allocations: 38.17 kB / 0.5694 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.221, allocations: 69.94 kB / 0.5694 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/1.223, allocations: 1.469 MB / 0.5709 GB, free: 14.3 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.008877/1.232, allocations: 6.365 MB / 0.5771 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.234, allocations: 0.9926 MB / 0.5781 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/1.235, allocations: 0.522 MB / 0.5786 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/1.237, allocations: 2.063 MB / 0.5806 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.237, allocations: 48.75 kB / 0.5806 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006329/1.237, allocations: 108.9 kB / 0.5807 GB, free: 7.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.554e-06/1.237, allocations: 4 kB / 0.5807 GB, free: 7.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01729/1.255, allocations: 4.958 MB / 0.5856 GB, free: 6.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.255, allocations: 119.2 kB / 0.5857 GB, free: 6.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.256, allocations: 0.7743 MB / 0.5865 GB, free: 5.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.256, allocations: 46.55 kB / 0.5865 GB, free: 5.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/1.256, allocations: 451.5 kB / 0.5869 GB, free: 5.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/1.257, allocations: 344.7 kB / 0.5873 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.257, allocations: 108.5 kB / 0.5874 GB, free: 5.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/1.257, allocations: 406.5 kB / 0.5877 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.258, allocations: 0.6214 MB / 0.5884 GB, free: 4.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.26, allocations: 0.9611 MB / 0.5893 GB, free: 4.242 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/1.263, allocations: 1.674 MB / 0.5909 GB, free: 3.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/1.263, allocations: 6.938 kB / 0.5909 GB, free: 3.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003955/1.267, allocations: 1.959 MB / 0.5928 GB, free: 2.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/1.267, allocations: 443.4 kB / 0.5933 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.267, allocations: 18.89 kB / 0.5933 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/1.269, allocations: 325.9 kB / 0.5936 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.27, allocations: 273.3 kB / 0.5939 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/1.272, allocations: 0.9385 MB / 0.5948 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.273, allocations: 99.69 kB / 0.5949 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/1.274, allocations: 75.22 kB / 0.5949 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.274, allocations: 4 kB / 0.5949 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004064/1.278, allocations: 1.846 MB / 0.5968 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.278, allocations: 8 kB / 0.5968 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/1.279, allocations: 333.2 kB / 0.5971 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.28, allocations: 270.2 kB / 0.5973 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.282, allocations: 0.9312 MB / 0.5982 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.284, allocations: 105.4 kB / 0.5983 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.284, allocations: 81.41 kB / 0.5984 GB, free: 14.13 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009761/1.285, allocations: 418 kB / 0.5988 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/1.285, allocations: 105.7 kB / 0.5989 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/1.289, allocations: 1.928 MB / 0.6008 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.289, allocations: 15.98 kB / 0.6008 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.289, allocations: 0 / 0.6008 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.289, allocations: 3.984 kB / 0.6008 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/1.294, allocations: 3.05 MB / 0.6038 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.294, allocations: 4 kB / 0.6038 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/1.295, allocations: 189.3 kB / 0.604 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.297, allocations: 390.3 kB / 0.6044 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/1.297, allocations: 44.41 kB / 0.6044 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.298, allocations: 0.8947 MB / 0.6053 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.298, allocations: 0 / 0.6053 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/1.303, allocations: 2.432 MB / 0.6077 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/1.304, allocations: 343.6 kB / 0.608 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/1.305, allocations: 34.83 kB / 0.608 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.306, allocations: 83.95 kB / 0.6081 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/1.306, allocations: 80.89 kB / 0.6082 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.306, allocations: 59.95 kB / 0.6082 GB, free: 6.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001058/1.307, allocations: 0.5615 MB / 0.6088 GB, free: 5.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.62e-07/1.307, allocations: 0 / 0.6088 GB, free: 5.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004767/1.312, allocations: 1.167 MB / 0.6099 GB, free: 4.582 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004347/1.316, allocations: 1.152 MB / 0.611 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005237/1.322, allocations: 2.63 MB / 0.6136 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.322, allocations: 9.969 kB / 0.6136 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.323, allocations: 0.7453 MB / 0.6143 GB, free: 212 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.326, allocations: 0.5361 MB / 0.6149 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/1.332, allocations: 3.087 MB / 0.6179 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.333, allocations: 1.12 MB / 0.619 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/1.333, allocations: 142.3 kB / 0.6191 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/1.333, allocations: 4 kB / 0.6191 GB, free: 11.27 MB / 478.1 MB Notification: Performance of Templates: time 0.05684/1.39, allocations: 33.1 MB / 0.6514 GB, free: 10.18 MB / 0.4981 GB 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++ -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.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