Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009704/0.0009703, allocations: 102.6 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.001028/0.001029, allocations: 176 kB / 16.58 MB, free: 6.859 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.604/1.604, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 0.5076 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 82.32 MB / 0.588 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.469/0.693, allocations: 19.1 MB / 0.6066 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.7011, allocations: 5.029 MB / 0.6115 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.7021, allocations: 28.31 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.703, allocations: 254 kB / 0.6118 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.7054, allocations: 0.7561 MB / 0.6126 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.708, allocations: 0.7554 MB / 0.6133 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.7106, allocations: 1.94 MB / 0.6152 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.7112, allocations: 398 kB / 0.6156 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.7122, allocations: 0.5995 MB / 0.6162 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.7129, allocations: 461.8 kB / 0.6166 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.7129, allocations: 22.66 kB / 0.6166 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.7153, allocations: 0.9622 MB / 0.6176 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.7155, allocations: 118.3 kB / 0.6177 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.7158, allocations: 136.7 kB / 0.6178 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.7173, allocations: 0.8238 MB / 0.6186 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7174, allocations: 6.688 kB / 0.6186 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7174, allocations: 0 / 0.6186 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.7174, allocations: 0 / 0.6186 GB, free: 33.82 MB / 0.4981 GB 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.001789/0.7192, allocations: 0.924 MB / 0.6195 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7192, allocations: 9.781 kB / 0.6195 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.7203, allocations: 195.1 kB / 0.6197 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.7216, allocations: 0.5493 MB / 0.6202 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.722, allocations: 91.78 kB / 0.6203 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.7221, allocations: 41.28 kB / 0.6204 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7233, allocations: 0.5006 MB / 0.6209 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7233, allocations: 0 / 0.6209 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.7234, allocations: 18.55 kB / 0.6209 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.7234, allocations: 8.75 kB / 0.6209 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.7247, allocations: 434.5 kB / 0.6213 GB, free: 32.74 MB / 0.4981 GB 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.003367/0.7281, allocations: 2.288 MB / 0.6235 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7294, allocations: 395.7 kB / 0.6239 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.73, allocations: 237.5 kB / 0.6241 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.7303, allocations: 346.8 kB / 0.6245 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007559/0.7311, allocations: 307.7 kB / 0.6248 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/0.7311, allocations: 4 kB / 0.6248 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002779/0.7339, allocations: 0.8778 MB / 0.6256 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.734, allocations: 88.7 kB / 0.6257 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.7347, allocations: 490.4 kB / 0.6262 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.7347, allocations: 38.33 kB / 0.6262 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.735, allocations: 275.5 kB / 0.6265 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.7351, allocations: 111.4 kB / 0.6266 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.7351, allocations: 5.062 kB / 0.6266 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7352, allocations: 366 kB / 0.6269 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7358, allocations: 179.5 kB / 0.6271 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.7364, allocations: 275.6 kB / 0.6274 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.737, allocations: 225.9 kB / 0.6276 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.737, allocations: 2.875 kB / 0.6276 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001712/0.7388, allocations: 0.6255 MB / 0.6282 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.7389, allocations: 172.9 kB / 0.6284 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.7389, allocations: 2.984 kB / 0.6284 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.7393, allocations: 69.44 kB / 0.6284 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.7398, allocations: 82.41 kB / 0.6285 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/0.7403, allocations: 0.5918 MB / 0.6291 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.741, allocations: 89.91 kB / 0.6292 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.7411, allocations: 14.75 kB / 0.6292 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.7411, allocations: 5.562 kB / 0.6292 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/0.7427, allocations: 0.5576 MB / 0.6297 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7427, allocations: 7.219 kB / 0.6297 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.7429, allocations: 48.22 kB / 0.6298 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.7433, allocations: 86.28 kB / 0.6299 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.745, allocations: 1.627 MB / 0.6315 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.7457, allocations: 73.69 kB / 0.6315 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.7457, allocations: 19.16 kB / 0.6315 GB, free: 27.27 MB / 0.4981 GB 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.0004324/0.7462, allocations: 299.7 kB / 0.6318 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7463, allocations: 62.2 kB / 0.6319 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.7482, allocations: 0.6657 MB / 0.6325 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7482, allocations: 3.031 kB / 0.6325 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7482, allocations: 4 kB / 0.6326 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.7497, allocations: 0.8213 MB / 0.6334 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.7526, allocations: 1.318 MB / 0.6346 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7526, allocations: 3.094 kB / 0.6346 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.7531, allocations: 75.83 kB / 0.6347 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/0.7532, allocations: 37.5 kB / 0.6348 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.7533, allocations: 15.2 kB / 0.6348 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003383/0.7536, allocations: 0.5782 MB / 0.6353 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7537, allocations: 0 / 0.6353 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.756, allocations: 1.003 MB / 0.6363 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.7564, allocations: 189.8 kB / 0.6365 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.7565, allocations: 6.938 kB / 0.6365 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.7573, allocations: 61.58 kB / 0.6366 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.7574, allocations: 30.8 kB / 0.6366 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.7575, allocations: 24.11 kB / 0.6366 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005329/0.758, allocations: 347.7 kB / 0.6369 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.758, allocations: 0 / 0.6369 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001829/0.7599, allocations: 342.8 kB / 0.6373 GB, free: 24.71 MB / 0.4981 GB 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.001031/0.7609, allocations: 288.7 kB / 0.6375 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.7636, allocations: 0.999 MB / 0.6385 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.7637, allocations: 0 / 0.6385 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/0.7645, allocations: 340.1 kB / 0.6388 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.7666, allocations: 246.1 kB / 0.6391 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.7705, allocations: 1.38 MB / 0.6404 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.7712, allocations: 0.8787 MB / 0.6413 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.7715, allocations: 54.05 kB / 0.6413 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.7715, allocations: 0 / 0.6413 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.03286/0.8044, allocations: 11.4 MB / 0.6525 GB, free: 21.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1