Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.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.0009371/0.0009369, allocations: 100.5 kB / 15.71 MB, free: 452 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.001053/0.001053, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.438/1.438, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 8 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9249, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02032/0.9453, allocations: 19.12 MB / 1.04 GB, free: 13.92 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007996/0.9534, allocations: 5.038 MB / 1.045 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.9543, allocations: 23.81 kB / 1.045 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.9552, allocations: 250.5 kB / 1.046 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.9575, allocations: 0.7569 MB / 1.046 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.96, allocations: 0.7574 MB / 1.047 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.9627, allocations: 1.953 MB / 1.049 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.9634, allocations: 399.1 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.9646, allocations: 0.5952 MB / 1.05 GB, free: 4.133 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.9653, allocations: 462 kB / 1.05 GB, free: 3.68 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.9653, allocations: 24 kB / 1.05 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.9674, allocations: 0.959 MB / 1.051 GB, free: 2.695 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.9675, allocations: 119.5 kB / 1.051 GB, free: 2.578 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.9677, allocations: 137.4 kB / 1.052 GB, free: 2.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.9688, allocations: 0.8243 MB / 1.052 GB, free: 1.613 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9688, allocations: 4 kB / 1.052 GB, free: 1.609 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9688, allocations: 0 / 1.052 GB, free: 1.609 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.9689, allocations: 4 kB / 1.052 GB, free: 1.605 MB / 0.795 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.001625/0.9705, allocations: 0.9363 MB / 1.053 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9705, allocations: 11.98 kB / 1.053 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.9714, allocations: 199 kB / 1.053 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.9724, allocations: 0.534 MB / 1.054 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.9728, allocations: 100.9 kB / 1.054 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.9728, allocations: 40 kB / 1.054 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.9738, allocations: 0.4921 MB / 1.055 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.9738, allocations: 0 / 1.055 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.9739, allocations: 23.78 kB / 1.055 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.9739, allocations: 8 kB / 1.055 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009819/0.9749, allocations: 426.6 kB / 1.055 GB, free: 14.73 MB / 0.8106 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.003068/0.978, allocations: 2.301 MB / 1.057 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.9789, allocations: 390.9 kB / 1.058 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.9794, allocations: 233 kB / 1.058 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/0.9798, allocations: 344.7 kB / 1.058 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.9804, allocations: 318.7 kB / 1.059 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.9805, allocations: 0 / 1.059 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002215/0.9827, allocations: 0.885 MB / 1.059 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.9828, allocations: 81.11 kB / 1.059 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.9833, allocations: 0.491 MB / 1.06 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.9834, allocations: 33.7 kB / 1.06 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.9836, allocations: 272.4 kB / 1.06 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9837, allocations: 102.5 kB / 1.06 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.9837, allocations: 12 kB / 1.06 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.9839, allocations: 366.7 kB / 1.061 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.9843, allocations: 179.9 kB / 1.061 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.9849, allocations: 273.2 kB / 1.061 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.9855, allocations: 214.2 kB / 1.061 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9855, allocations: 3.938 kB / 1.061 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001372/0.9869, allocations: 0.6284 MB / 1.062 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.987, allocations: 168 kB / 1.062 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.987, allocations: 4 kB / 1.062 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.9874, allocations: 76.81 kB / 1.062 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.9878, allocations: 87.88 kB / 1.062 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/0.9883, allocations: 0.5913 MB / 1.063 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.9889, allocations: 83.72 kB / 1.063 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.9889, allocations: 12 kB / 1.063 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.9889, allocations: 4 kB / 1.063 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.9901, allocations: 0.5642 MB / 1.064 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9901, allocations: 4 kB / 1.064 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.9903, allocations: 52.92 kB / 1.064 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.9907, allocations: 79.94 kB / 1.064 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.9924, allocations: 1.639 MB / 1.065 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.9929, allocations: 79.64 kB / 1.065 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.9929, allocations: 16.03 kB / 1.065 GB, free: 3.551 MB / 0.8106 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.0003507/0.9933, allocations: 298.7 kB / 1.066 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.9935, allocations: 55.34 kB / 1.066 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.9949, allocations: 0.6609 MB / 1.066 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.731e-05/0.995, allocations: 11.98 kB / 1.066 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.995, allocations: 0 / 1.066 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.9963, allocations: 0.8254 MB / 1.067 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.9985, allocations: 1.299 MB / 1.068 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.9985, allocations: 7.938 kB / 1.068 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.9988, allocations: 71.98 kB / 1.068 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.999, allocations: 44.81 kB / 1.069 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.999, allocations: 11.98 kB / 1.069 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004229/0.9994, allocations: 0.5874 MB / 1.069 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9995, allocations: 0 / 1.069 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.001, allocations: 1 MB / 1.07 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.002, allocations: 188.1 kB / 1.07 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/1.002, allocations: 8 kB / 1.07 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/1.002, allocations: 64.02 kB / 1.07 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/1.002, allocations: 19.97 kB / 1.07 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/1.002, allocations: 27.92 kB / 1.07 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003958/1.003, allocations: 342.8 kB / 1.071 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 0 / 1.071 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001101/1.004, allocations: 347.4 kB / 1.071 GB, free: 13.44 MB / 0.8262 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.0006719/1.004, allocations: 284.1 kB / 1.071 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.006, allocations: 1.006 MB / 1.072 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.006, allocations: 0 / 1.072 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/1.007, allocations: 339.3 kB / 1.073 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.008, allocations: 251.5 kB / 1.073 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.011, allocations: 1.373 MB / 1.074 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/1.011, allocations: 0.8745 MB / 1.075 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.011, allocations: 51.42 kB / 1.075 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.365e-06/1.011, allocations: 0 / 1.075 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.0167/1.028, allocations: 11.4 MB / 1.086 GB, free: 13.81 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1