Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008039/0.0008035, allocations: 93.59 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.3 MB / 246.6 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 4 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5691/0.7048, allocations: 187.6 MB / 0.5336 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4407/1.146, allocations: 9.764 MB / 0.5431 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/1.148, allocations: 32.84 kB / 0.5432 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/1.149, allocations: 333.9 kB / 0.5435 GB, free: 3.875 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.008803/1.158, allocations: 2.521 MB / 0.5459 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007778/1.166, allocations: 1.997 MB / 0.5479 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005469/1.171, allocations: 3.141 MB / 0.5509 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/1.173, allocations: 0.631 MB / 0.5516 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006785/1.179, allocations: 2.368 MB / 0.5539 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/1.182, allocations: 1.056 MB / 0.5549 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/1.182, allocations: 60.31 kB / 0.555 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01234/1.195, allocations: 5.206 MB / 0.56 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/1.196, allocations: 485 kB / 0.5605 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.197, allocations: 245.5 kB / 0.5607 GB, free: 19.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008654/1.206, allocations: 3.07 MB / 0.5637 GB, free: 19.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.206, allocations: 2.766 kB / 0.5637 GB, free: 19.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/1.206, allocations: 0 / 0.5637 GB, free: 19.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.753e-05/1.206, allocations: 0 / 0.5637 GB, free: 19.27 MB / 462.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.004584/1.211, allocations: 1.854 MB / 0.5656 GB, free: 18.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.211, allocations: 11.56 kB / 0.5656 GB, free: 18.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/1.211, allocations: 130.7 kB / 0.5657 GB, free: 18.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.212, allocations: 0.6671 MB / 0.5663 GB, free: 17.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.212, allocations: 128.8 kB / 0.5665 GB, free: 17.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/1.213, allocations: 92.02 kB / 0.5666 GB, free: 17.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.215, allocations: 1.45 MB / 0.568 GB, free: 17.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.215, allocations: 2.562 kB / 0.568 GB, free: 17.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.215, allocations: 42 kB / 0.568 GB, free: 17.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.48e-05/1.215, allocations: 71.08 kB / 0.5681 GB, free: 17.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/1.217, allocations: 1.455 MB / 0.5695 GB, free: 17.58 MB / 462.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.007682/1.225, allocations: 6.342 MB / 0.5757 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.226, allocations: 0.9848 MB / 0.5767 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006875/1.227, allocations: 0.5237 MB / 0.5772 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/1.229, allocations: 1.803 MB / 0.5789 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.229, allocations: 45.25 kB / 0.579 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004645/1.229, allocations: 103.6 kB / 0.5791 GB, free: 11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/1.229, allocations: 0 / 0.5791 GB, free: 11 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.01385/1.243, allocations: 4.932 MB / 0.5839 GB, free: 9.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/1.243, allocations: 114.9 kB / 0.584 GB, free: 9.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/1.244, allocations: 0.7701 MB / 0.5847 GB, free: 9.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.794e-05/1.244, allocations: 46.77 kB / 0.5848 GB, free: 9.223 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/1.244, allocations: 448.6 kB / 0.5852 GB, free: 8.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/1.245, allocations: 337.6 kB / 0.5855 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/1.245, allocations: 27.56 kB / 0.5856 GB, free: 8.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/1.245, allocations: 411.1 kB / 0.586 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.246, allocations: 0.6006 MB / 0.5865 GB, free: 8.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.247, allocations: 0.9545 MB / 0.5875 GB, free: 7.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.249, allocations: 0.7911 MB / 0.5883 GB, free: 7.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.249, allocations: 7.266 kB / 0.5883 GB, free: 7.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003381/1.252, allocations: 1.917 MB / 0.5901 GB, free: 7.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003136/1.252, allocations: 449.1 kB / 0.5906 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.252, allocations: 10.03 kB / 0.5906 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.254, allocations: 334.8 kB / 0.5909 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/1.255, allocations: 270.6 kB / 0.5911 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/1.256, allocations: 0.9285 MB / 0.5921 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.257, allocations: 118.6 kB / 0.5922 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.258, allocations: 72.52 kB / 0.5922 GB, free: 5.859 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/1.258, allocations: 5.906 kB / 0.5922 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003187/1.261, allocations: 1.797 MB / 0.594 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.261, allocations: 10.41 kB / 0.594 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.262, allocations: 324.9 kB / 0.5943 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/1.263, allocations: 270.8 kB / 0.5946 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.264, allocations: 0.927 MB / 0.5955 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.266, allocations: 103.8 kB / 0.5956 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.266, allocations: 72.69 kB / 0.5956 GB, free: 4.773 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 (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.0007778/1.266, allocations: 416.2 kB / 0.596 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/1.267, allocations: 96.25 kB / 0.5961 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/1.27, allocations: 1.989 MB / 0.5981 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/1.27, allocations: 8 kB / 0.5981 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.27, allocations: 0 / 0.5981 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.27, allocations: 11.94 kB / 0.5981 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/1.275, allocations: 3.112 MB / 0.6011 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.275, allocations: 4 kB / 0.6011 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/1.276, allocations: 180 kB / 0.6013 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.278, allocations: 409 kB / 0.6017 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/1.278, allocations: 32.67 kB / 0.6017 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/1.279, allocations: 0.8921 MB / 0.6026 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.279, allocations: 4 kB / 0.6026 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/1.283, allocations: 2.39 MB / 0.6049 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/1.284, allocations: 337.3 kB / 0.6053 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.284, allocations: 31.34 kB / 0.6053 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/1.285, allocations: 85.55 kB / 0.6054 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.285, allocations: 76.69 kB / 0.6054 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.285, allocations: 56.95 kB / 0.6055 GB, free: 14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007315/1.286, allocations: 0.5443 MB / 0.606 GB, free: 13.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.286, allocations: 0 / 0.606 GB, free: 13.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003679/1.289, allocations: 1.138 MB / 0.6071 GB, free: 12.56 MB / 478.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.002734/1.292, allocations: 1.064 MB / 0.6082 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004699/1.297, allocations: 2.618 MB / 0.6107 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.297, allocations: 4.562 kB / 0.6107 GB, free: 9.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.298, allocations: 0.7348 MB / 0.6115 GB, free: 9.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.301, allocations: 0.5108 MB / 0.612 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/1.306, allocations: 2.989 MB / 0.6149 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/1.307, allocations: 1.127 MB / 0.616 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/1.307, allocations: 121.5 kB / 0.6161 GB, free: 4.879 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/1.307, allocations: 0 / 0.6161 GB, free: 4.879 MB / 478.1 MB Notification: Performance of Templates: time 0.04897/1.356, allocations: 32.17 MB / 0.6475 GB, free: 4.965 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile make -j1 -f Modelica_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2CalcHelperMain.o] Error 1