Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 103 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 173.6 kB / 16.58 MB, free: 6.383 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.423/1.423, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.3 MB / 424.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 9.031 kB / 0.504 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5611, allocations: 81.58 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02387/0.585, allocations: 19.11 MB / 0.6023 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.5969, allocations: 5.032 MB / 0.6073 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.5984, allocations: 23.66 kB / 0.6073 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.5999, allocations: 249.9 kB / 0.6075 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.604, allocations: 0.759 MB / 0.6083 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.6084, allocations: 0.7639 MB / 0.609 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005118/0.6135, allocations: 1.941 MB / 0.6109 GB, free: 36 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.615, allocations: 410.4 kB / 0.6113 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.6175, allocations: 0.5964 MB / 0.6119 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.6193, allocations: 464.3 kB / 0.6123 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.6195, allocations: 22.38 kB / 0.6123 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.6233, allocations: 0.9542 MB / 0.6133 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.6237, allocations: 120.1 kB / 0.6134 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.6244, allocations: 141.9 kB / 0.6135 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.627, allocations: 0.8288 MB / 0.6143 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.627, allocations: 0 / 0.6143 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.627, allocations: 1.094 kB / 0.6143 GB, free: 14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.81e-05/0.6271, allocations: 0 / 0.6143 GB, free: 14 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003112/0.6302, allocations: 0.9252 MB / 0.6152 GB, free: 13.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.6303, allocations: 9.969 kB / 0.6152 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6316, allocations: 197.6 kB / 0.6154 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.6336, allocations: 0.5362 MB / 0.616 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/0.634, allocations: 100.8 kB / 0.616 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6342, allocations: 38.38 kB / 0.6161 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6359, allocations: 0.495 MB / 0.6166 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.6359, allocations: 0 / 0.6166 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.636, allocations: 16.75 kB / 0.6166 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.6361, allocations: 13.22 kB / 0.6166 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.6376, allocations: 427 kB / 0.617 GB, free: 12.12 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.005087/0.6427, allocations: 2.303 MB / 0.6193 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6442, allocations: 397.7 kB / 0.6196 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.6449, allocations: 236.3 kB / 0.6199 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/0.6455, allocations: 342.6 kB / 0.6202 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/0.6464, allocations: 309.1 kB / 0.6205 GB, free: 9.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.787e-06/0.6464, allocations: 0 / 0.6205 GB, free: 9.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.003175/0.6496, allocations: 0.8793 MB / 0.6213 GB, free: 8.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.6498, allocations: 82.45 kB / 0.6214 GB, free: 8.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6508, allocations: 498.7 kB / 0.6219 GB, free: 8.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.6509, allocations: 32.45 kB / 0.6219 GB, free: 8.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.6512, allocations: 275.8 kB / 0.6222 GB, free: 7.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.6514, allocations: 108.9 kB / 0.6223 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.6514, allocations: 6.312 kB / 0.6223 GB, free: 7.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.6517, allocations: 367 kB / 0.6226 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.6523, allocations: 181.2 kB / 0.6228 GB, free: 7.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/0.6531, allocations: 263.9 kB / 0.6231 GB, free: 7.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.6539, allocations: 226.3 kB / 0.6233 GB, free: 7.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6539, allocations: 1.406 kB / 0.6233 GB, free: 7.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002055/0.6559, allocations: 0.6328 MB / 0.6239 GB, free: 6.742 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.6561, allocations: 168.5 kB / 0.6241 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6562, allocations: 4 kB / 0.6241 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.6567, allocations: 68.8 kB / 0.6241 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.6571, allocations: 83.88 kB / 0.6242 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006064/0.6578, allocations: 0.603 MB / 0.6248 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.6586, allocations: 79.69 kB / 0.6249 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.6587, allocations: 16 kB / 0.6249 GB, free: 5.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.6587, allocations: 4 kB / 0.6249 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/0.6607, allocations: 0.5625 MB / 0.6254 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6607, allocations: 3.953 kB / 0.6255 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.6609, allocations: 52.98 kB / 0.6255 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6614, allocations: 83.88 kB / 0.6256 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.6635, allocations: 1.619 MB / 0.6272 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.6643, allocations: 79.73 kB / 0.6272 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.6643, allocations: 19.98 kB / 0.6273 GB, free: 3.094 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005056/0.6648, allocations: 297.8 kB / 0.6275 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6651, allocations: 55.34 kB / 0.6276 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.6667, allocations: 0.6647 MB / 0.6282 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6667, allocations: 7.984 kB / 0.6283 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6667, allocations: 0 / 0.6283 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.668, allocations: 0.8226 MB / 0.6291 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.6704, allocations: 1.323 MB / 0.6303 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6704, allocations: 4 kB / 0.6304 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.6707, allocations: 71.92 kB / 0.6304 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.6708, allocations: 52.81 kB / 0.6305 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.6709, allocations: 11.98 kB / 0.6305 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003821/0.6713, allocations: 0.5758 MB / 0.631 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6713, allocations: 0 / 0.631 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.6731, allocations: 0.9921 MB / 0.632 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.6734, allocations: 192.2 kB / 0.6322 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.6735, allocations: 15.94 kB / 0.6322 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6741, allocations: 64.02 kB / 0.6323 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.6741, allocations: 19.97 kB / 0.6323 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.6742, allocations: 23.97 kB / 0.6323 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.6746, allocations: 338.9 kB / 0.6326 GB, free: 13.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6746, allocations: 0 / 0.6326 GB, free: 13.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00124/0.6759, allocations: 343.4 kB / 0.633 GB, free: 12.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008175/0.6767, allocations: 291.2 kB / 0.6332 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.6789, allocations: 1.004 MB / 0.6342 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6789, allocations: 4.062 kB / 0.6342 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.6796, allocations: 331.3 kB / 0.6345 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6809, allocations: 249.9 kB / 0.6348 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.6836, allocations: 1.381 MB / 0.6361 GB, free: 9.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.6841, allocations: 0.8784 MB / 0.637 GB, free: 8.758 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.6843, allocations: 51.42 kB / 0.637 GB, free: 8.707 MB / 478.1 MB Notification: Performance of SimCode: time 4.188e-06/0.6843, allocations: 0 / 0.637 GB, free: 8.707 MB / 478.1 MB Notification: Performance of Templates: time 0.018/0.7023, allocations: 11.4 MB / 0.6482 GB, free: 13.39 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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 OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1