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.0007881/0.000788, allocations: 92.16 kB / 16.02 MB, free: 80 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.001191/0.001191, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7208/0.7208, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003405, allocations: 8 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4771, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02266/0.4998, allocations: 20.14 MB / 0.604 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.5086, allocations: 5.395 MB / 0.6092 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5096, allocations: 23.81 kB / 0.6093 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009577/0.5106, allocations: 288.2 kB / 0.6095 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.5133, allocations: 0.8488 MB / 0.6104 GB, free: 448 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.516, allocations: 0.8063 MB / 0.6111 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.5192, allocations: 2.294 MB / 0.6134 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007319/0.5199, allocations: 433 kB / 0.6138 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.5212, allocations: 0.6152 MB / 0.6144 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.5218, allocations: 490.7 kB / 0.6149 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.5219, allocations: 30 kB / 0.6149 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.524, allocations: 1.084 MB / 0.616 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.5242, allocations: 132.5 kB / 0.6161 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.5246, allocations: 326.7 kB / 0.6164 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5257, allocations: 0.8505 MB / 0.6172 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5258, allocations: 0 / 0.6172 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5258, allocations: 0.9688 kB / 0.6172 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.5258, allocations: 0 / 0.6172 GB, free: 12.32 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.001504/0.5273, allocations: 0.9274 MB / 0.6181 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5273, allocations: 9.5 kB / 0.6181 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.5282, allocations: 196.1 kB / 0.6183 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5294, allocations: 0.5666 MB / 0.6189 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.5297, allocations: 99.92 kB / 0.619 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.5298, allocations: 35.44 kB / 0.619 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5308, allocations: 0.5009 MB / 0.6195 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5309, allocations: 1.531 kB / 0.6195 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.5309, allocations: 19.48 kB / 0.6195 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5309, allocations: 9.656 kB / 0.6195 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.532, allocations: 438.4 kB / 0.6199 GB, free: 10.39 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.002897/0.5349, allocations: 2.283 MB / 0.6222 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.536, allocations: 394.4 kB / 0.6225 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.5366, allocations: 240.8 kB / 0.6228 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.5369, allocations: 343.2 kB / 0.6231 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006375/0.5376, allocations: 313.7 kB / 0.6234 GB, free: 7.438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.5376, allocations: 0.9375 kB / 0.6234 GB, free: 7.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002433/0.54, allocations: 0.8879 MB / 0.6243 GB, free: 6.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.5401, allocations: 82.67 kB / 0.6244 GB, free: 6.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.5406, allocations: 0.4912 MB / 0.6248 GB, free: 6.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.5407, allocations: 41.69 kB / 0.6249 GB, free: 6.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.541, allocations: 276.4 kB / 0.6251 GB, free: 6.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5411, allocations: 102.5 kB / 0.6252 GB, free: 5.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.5412, allocations: 33.7 kB / 0.6253 GB, free: 5.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5413, allocations: 366.7 kB / 0.6256 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.5418, allocations: 179.9 kB / 0.6258 GB, free: 5.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.5423, allocations: 277 kB / 0.626 GB, free: 5.047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.5433, allocations: 485.2 kB / 0.6265 GB, free: 4.539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5433, allocations: 4 kB / 0.6265 GB, free: 4.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001423/0.5448, allocations: 0.6335 MB / 0.6271 GB, free: 3.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.5449, allocations: 169 kB / 0.6273 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5449, allocations: 7.938 kB / 0.6273 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.5453, allocations: 76.73 kB / 0.6274 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5457, allocations: 87.86 kB / 0.6275 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/0.5462, allocations: 0.6031 MB / 0.628 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.5467, allocations: 75.64 kB / 0.6281 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.5468, allocations: 19.98 kB / 0.6281 GB, free: 2.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.5468, allocations: 4 kB / 0.6281 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001256/0.5481, allocations: 0.5603 MB / 0.6287 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5481, allocations: 4 kB / 0.6287 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.5482, allocations: 48.98 kB / 0.6287 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.5486, allocations: 79.88 kB / 0.6288 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.5502, allocations: 1.642 MB / 0.6304 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.5507, allocations: 79.72 kB / 0.6305 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.5507, allocations: 16.19 kB / 0.6305 GB, free: 216 kB / 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.5511, allocations: 298.7 kB / 0.6308 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.5512, allocations: 59.28 kB / 0.6309 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.5526, allocations: 0.6687 MB / 0.6315 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5527, allocations: 4 kB / 0.6315 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.5527, allocations: 4 kB / 0.6315 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.554, allocations: 0.8185 MB / 0.6323 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.5563, allocations: 1.319 MB / 0.6336 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5564, allocations: 0 / 0.6336 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.5567, allocations: 75.97 kB / 0.6337 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.5568, allocations: 36.84 kB / 0.6337 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.5569, allocations: 19.92 kB / 0.6337 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003639/0.5573, allocations: 0.5834 MB / 0.6343 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5573, allocations: 8.016 kB / 0.6343 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5591, allocations: 0.9881 MB / 0.6353 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.5594, allocations: 188.3 kB / 0.6355 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.5595, allocations: 8 kB / 0.6355 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.56, allocations: 67.91 kB / 0.6355 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.5601, allocations: 23.97 kB / 0.6355 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.5601, allocations: 19.98 kB / 0.6356 GB, free: 10.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.5605, allocations: 342.8 kB / 0.6359 GB, free: 10.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5605, allocations: 3.938 kB / 0.6359 GB, free: 10.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001166/0.5617, allocations: 347.4 kB / 0.6362 GB, free: 10.09 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 (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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006777/0.5624, allocations: 312.3 kB / 0.6365 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.5645, allocations: 0.9958 MB / 0.6375 GB, free: 8.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5645, allocations: 0 / 0.6375 GB, free: 8.754 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.5651, allocations: 339.3 kB / 0.6378 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5666, allocations: 245.3 kB / 0.6381 GB, free: 8.176 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5689, allocations: 1.417 MB / 0.6394 GB, free: 6.719 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.5694, allocations: 0.8784 MB / 0.6403 GB, free: 5.812 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.5696, allocations: 51.41 kB / 0.6403 GB, free: 5.762 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5696, allocations: 0 / 0.6403 GB, free: 5.762 MB / 478.1 MB Notification: Performance of Templates: time 0.01516/0.5848, allocations: 11.42 MB / 0.6515 GB, free: 10.42 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++ -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/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/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