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.001867/0.001867, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.002639/0.002639, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.871/1.871, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001456/0.001456, allocations: 47.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1342, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.6043/0.7386, allocations: 212.6 MB / 0.5272 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4429/1.182, allocations: 13.71 MB / 0.5406 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/1.183, allocations: 29.16 kB / 0.5406 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/1.185, allocations: 412.2 kB / 0.541 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/1.197, allocations: 3.167 MB / 0.5441 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008989/1.206, allocations: 2.467 MB / 0.5465 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005601/1.211, allocations: 3.783 MB / 0.5502 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/1.212, allocations: 0.6602 MB / 0.5509 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008112/1.221, allocations: 2.797 MB / 0.5536 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/1.224, allocations: 1.087 MB / 0.5547 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/1.224, allocations: 62.28 kB / 0.5547 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/1.242, allocations: 6.88 MB / 0.5615 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/1.244, allocations: 490.9 kB / 0.5619 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/1.245, allocations: 0.5827 MB / 0.5625 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.256, allocations: 3.441 MB / 0.5659 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.256, allocations: 0 / 0.5659 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/1.256, allocations: 2.609 kB / 0.5659 GB, free: 404 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/1.256, allocations: 0 / 0.5659 GB, free: 404 kB / 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.006607/1.262, allocations: 2.129 MB / 0.5679 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.263, allocations: 9.844 kB / 0.5679 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/1.263, allocations: 128 kB / 0.5681 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.264, allocations: 0.69 MB / 0.5687 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/1.264, allocations: 134.4 kB / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.265, allocations: 87.56 kB / 0.569 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/1.267, allocations: 1.467 MB / 0.5704 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/1.267, allocations: 7.469 kB / 0.5704 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.267, allocations: 39.53 kB / 0.5704 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-05/1.267, allocations: 73.27 kB / 0.5705 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/1.27, allocations: 1.473 MB / 0.5719 GB, free: 14.11 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.008965/1.279, allocations: 6.35 MB / 0.5781 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.281, allocations: 0.9856 MB / 0.5791 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/1.281, allocations: 0.5194 MB / 0.5796 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/1.283, allocations: 2.063 MB / 0.5816 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.283, allocations: 48.44 kB / 0.5817 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005994/1.284, allocations: 104.1 kB / 0.5818 GB, free: 7.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/1.284, allocations: 0 / 0.5818 GB, free: 7.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01635/1.3, allocations: 4.802 MB / 0.5865 GB, free: 5.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/1.301, allocations: 118.7 kB / 0.5866 GB, free: 5.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.302, allocations: 0.7713 MB / 0.5873 GB, free: 4.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/1.302, allocations: 51.42 kB / 0.5874 GB, free: 4.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/1.302, allocations: 448.9 kB / 0.5878 GB, free: 4.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/1.302, allocations: 343.7 kB / 0.5881 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/1.303, allocations: 253.4 kB / 0.5884 GB, free: 3.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/1.303, allocations: 406.1 kB / 0.5888 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.304, allocations: 0.6214 MB / 0.5894 GB, free: 3.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/1.306, allocations: 0.9603 MB / 0.5903 GB, free: 2.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.309, allocations: 1.667 MB / 0.5919 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.309, allocations: 4 kB / 0.5919 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004191/1.313, allocations: 1.939 MB / 0.5938 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/1.314, allocations: 68.22 kB / 0.5939 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.314, allocations: 12 kB / 0.5939 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/1.315, allocations: 311 kB / 0.5942 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.316, allocations: 272.3 kB / 0.5945 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/1.318, allocations: 0.9117 MB / 0.5954 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.319, allocations: 104.6 kB / 0.5955 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.319, allocations: 77.41 kB / 0.5955 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001668/1.321, allocations: 0.8466 MB / 0.5964 GB, free: 13.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001458/1.322, allocations: 0.9493 MB / 0.5973 GB, free: 12.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002686/1.325, allocations: 1.64 MB / 0.5989 GB, free: 10.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.723e-06/1.325, allocations: 5.094 kB / 0.5989 GB, free: 10.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003881/1.329, allocations: 1.916 MB / 0.6008 GB, free: 8.539 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/1.329, allocations: 67.34 kB / 0.6008 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.329, allocations: 8 kB / 0.6008 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.33, allocations: 311.2 kB / 0.6011 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.331, allocations: 277.4 kB / 0.6014 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/1.333, allocations: 0.9023 MB / 0.6023 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.334, allocations: 107.8 kB / 0.6024 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.335, allocations: 82.47 kB / 0.6025 GB, free: 6.793 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.0005844/1.335, allocations: 266.7 kB / 0.6027 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.335, allocations: 99.97 kB / 0.6028 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/1.339, allocations: 1.908 MB / 0.6047 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.339, allocations: 13.2 kB / 0.6047 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.339, allocations: 4 kB / 0.6047 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.339, allocations: 3.984 kB / 0.6047 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005638/1.345, allocations: 3.036 MB / 0.6077 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.345, allocations: 0 / 0.6077 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/1.346, allocations: 198.3 kB / 0.6078 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.348, allocations: 368.3 kB / 0.6082 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.348, allocations: 39.97 kB / 0.6082 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/1.35, allocations: 0.8821 MB / 0.6091 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.35, allocations: 4.031 kB / 0.6091 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/1.355, allocations: 2.413 MB / 0.6115 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.356, allocations: 331.8 kB / 0.6118 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.356, allocations: 27.98 kB / 0.6118 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/1.357, allocations: 87.84 kB / 0.6119 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.357, allocations: 75.44 kB / 0.612 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.357, allocations: 59.95 kB / 0.612 GB, free: 12.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008424/1.358, allocations: 0.5703 MB / 0.6126 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.358, allocations: 0 / 0.6126 GB, free: 12.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00483/1.363, allocations: 1.163 MB / 0.6137 GB, free: 11.18 MB / 478.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.004592/1.367, allocations: 1.153 MB / 0.6148 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006247/1.374, allocations: 2.627 MB / 0.6174 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.374, allocations: 4.438 kB / 0.6174 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.375, allocations: 0.7289 MB / 0.6181 GB, free: 6.809 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.378, allocations: 0.5348 MB / 0.6186 GB, free: 6.281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/1.385, allocations: 2.97 MB / 0.6215 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/1.386, allocations: 1.12 MB / 0.6226 GB, free: 2.133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/1.387, allocations: 139.4 kB / 0.6228 GB, free: 1.996 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/1.387, allocations: 0 / 0.6228 GB, free: 1.996 MB / 478.1 MB Notification: Performance of Templates: time 0.0599/1.446, allocations: 33.24 MB / 0.6552 GB, free: 0.75 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