Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000903/0.0009031, allocations: 94.53 kB / 16.95 MB, free: 5.93 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.0009634/0.0009636, allocations: 180 kB / 17.84 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 241.8 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 11.94 kB / 301.5 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 50.4 MB / 351.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.9126/1.03, allocations: 187.3 MB / 0.5265 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/1.047, allocations: 9.76 MB / 0.536 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/1.048, allocations: 30.16 kB / 0.5361 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/1.05, allocations: 333.8 kB / 0.5364 GB, free: 3.258 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01114/1.061, allocations: 2.521 MB / 0.5389 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0077/1.069, allocations: 1.995 MB / 0.5408 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005592/1.074, allocations: 3.132 MB / 0.5439 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.076, allocations: 0.6314 MB / 0.5445 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/1.083, allocations: 2.338 MB / 0.5468 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/1.086, allocations: 1.055 MB / 0.5478 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/1.087, allocations: 60.53 kB / 0.5478 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.1, allocations: 5.142 MB / 0.5529 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/1.101, allocations: 490.1 kB / 0.5533 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.102, allocations: 249.8 kB / 0.5536 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008802/1.111, allocations: 3.032 MB / 0.5565 GB, free: 18.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.111, allocations: 0 / 0.5565 GB, free: 18.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/1.111, allocations: 1.781 kB / 0.5565 GB, free: 18.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.548e-05/1.111, allocations: 4 kB / 0.5565 GB, free: 18.38 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.007111/1.118, allocations: 1.836 MB / 0.5583 GB, free: 17.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.118, allocations: 9.469 kB / 0.5583 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006042/1.119, allocations: 126.6 kB / 0.5585 GB, free: 17.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.12, allocations: 0.6653 MB / 0.5591 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.12, allocations: 129.4 kB / 0.5592 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.121, allocations: 90.62 kB / 0.5593 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/1.123, allocations: 1.452 MB / 0.5607 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.123, allocations: 0 / 0.5607 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.123, allocations: 44.08 kB / 0.5608 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.401e-05/1.123, allocations: 75.52 kB / 0.5609 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/1.125, allocations: 1.451 MB / 0.5623 GB, free: 15.88 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.008908/1.134, allocations: 6.341 MB / 0.5685 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.136, allocations: 0.9859 MB / 0.5694 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/1.137, allocations: 0.5199 MB / 0.5699 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.138, allocations: 1.796 MB / 0.5717 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/1.138, allocations: 49.97 kB / 0.5717 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006487/1.139, allocations: 106.7 kB / 0.5718 GB, free: 9.312 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.998e-06/1.139, allocations: 0 / 0.5718 GB, free: 9.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01514/1.154, allocations: 4.936 MB / 0.5767 GB, free: 7.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.154, allocations: 122.5 kB / 0.5768 GB, free: 7.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.156, allocations: 0.7632 MB / 0.5775 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.156, allocations: 47.73 kB / 0.5776 GB, free: 7.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/1.156, allocations: 458.4 kB / 0.578 GB, free: 7.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/1.156, allocations: 343.8 kB / 0.5783 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/1.157, allocations: 24.16 kB / 0.5784 GB, free: 7.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/1.157, allocations: 402.9 kB / 0.5787 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.158, allocations: 0.6084 MB / 0.5793 GB, free: 6.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.159, allocations: 0.9536 MB / 0.5803 GB, free: 6.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/1.161, allocations: 0.7954 MB / 0.581 GB, free: 5.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.161, allocations: 3.344 kB / 0.581 GB, free: 5.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003913/1.165, allocations: 1.913 MB / 0.5829 GB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004115/1.165, allocations: 461.4 kB / 0.5834 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.165, allocations: 8.812 kB / 0.5834 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/1.167, allocations: 323.4 kB / 0.5837 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.168, allocations: 274.3 kB / 0.5839 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/1.169, allocations: 0.9246 MB / 0.5848 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.171, allocations: 97.78 kB / 0.5849 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.171, allocations: 76 kB / 0.585 GB, free: 3.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.171, allocations: 4 kB / 0.585 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003499/1.174, allocations: 1.805 MB / 0.5868 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.174, allocations: 15.97 kB / 0.5868 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.176, allocations: 330.5 kB / 0.5871 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.177, allocations: 269.8 kB / 0.5874 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/1.178, allocations: 0.9256 MB / 0.5883 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.18, allocations: 109.4 kB / 0.5884 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/1.18, allocations: 65.41 kB / 0.5884 GB, free: 1.043 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.00103/1.181, allocations: 425.6 kB / 0.5888 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/1.182, allocations: 102.9 kB / 0.5889 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/1.186, allocations: 1.975 MB / 0.5909 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.186, allocations: 12 kB / 0.5909 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.186, allocations: 0 / 0.5909 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/1.186, allocations: 7.969 kB / 0.5909 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/1.192, allocations: 3.115 MB / 0.5939 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/1.192, allocations: 1.203 kB / 0.5939 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/1.193, allocations: 185.8 kB / 0.5941 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/1.195, allocations: 400.6 kB / 0.5945 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.195, allocations: 34.72 kB / 0.5945 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.196, allocations: 0.8963 MB / 0.5954 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.196, allocations: 0 / 0.5954 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/1.201, allocations: 2.389 MB / 0.5977 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/1.202, allocations: 339.5 kB / 0.598 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/1.202, allocations: 26.62 kB / 0.5981 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.203, allocations: 92.77 kB / 0.5982 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.203, allocations: 73.61 kB / 0.5982 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.204, allocations: 57.64 kB / 0.5983 GB, free: 9.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001031/1.205, allocations: 0.5396 MB / 0.5988 GB, free: 9.023 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.205, allocations: 0 / 0.5988 GB, free: 9.023 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005148/1.21, allocations: 1.128 MB / 0.5999 GB, free: 7.988 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.004947/1.215, allocations: 1.027 MB / 0.6009 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005794/1.221, allocations: 2.616 MB / 0.6035 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.221, allocations: 448 / 0.6035 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.222, allocations: 0.7448 MB / 0.6042 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.225, allocations: 0.5054 MB / 0.6047 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/1.232, allocations: 2.99 MB / 0.6076 GB, free: 1.566 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009705/1.233, allocations: 1.118 MB / 0.6087 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/1.233, allocations: 131.8 kB / 0.6088 GB, free: 344 kB / 462.1 MB Notification: Performance of SimCode: time 1.863e-06/1.233, allocations: 0 / 0.6088 GB, free: 344 kB / 462.1 MB Notification: Performance of Templates: time 0.05347/1.287, allocations: 31.8 MB / 0.6399 GB, free: 0.8047 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile make -j1 -f Modelica_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.o] Error 1