Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001044/0.001044, allocations: 99.05 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.001421/0.001421, allocations: 178 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.8333, allocations: 142.3 MB / 0.9544 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01927/0.8526, allocations: 19.12 MB / 0.9731 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009574/0.8622, allocations: 5.043 MB / 0.978 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.8634, allocations: 19.53 kB / 0.978 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8645, allocations: 253.7 kB / 0.9783 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.8673, allocations: 0.7573 MB / 0.979 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.8704, allocations: 0.7542 MB / 0.9797 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.8738, allocations: 1.956 MB / 0.9816 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.8747, allocations: 402.1 kB / 0.982 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.8762, allocations: 0.6002 MB / 0.9826 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.8771, allocations: 456.3 kB / 0.9831 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.8771, allocations: 23.34 kB / 0.9831 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.8798, allocations: 0.9544 MB / 0.984 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.88, allocations: 119.9 kB / 0.9841 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.8802, allocations: 145.8 kB / 0.9843 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.8817, allocations: 0.826 MB / 0.9851 GB, free: 344 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8818, allocations: 0 / 0.9851 GB, free: 344 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8818, allocations: 0 / 0.9851 GB, free: 344 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8818, allocations: 0 / 0.9851 GB, free: 344 kB / 0.7325 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.001776/0.8836, allocations: 0.9331 MB / 0.986 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.8836, allocations: 9.406 kB / 0.986 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.8845, allocations: 195.1 kB / 0.9862 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8857, allocations: 0.5405 MB / 0.9867 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.886, allocations: 99.45 kB / 0.9868 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.8861, allocations: 40 kB / 0.9868 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.8871, allocations: 0.5038 MB / 0.9873 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.8872, allocations: 0 / 0.9873 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.8872, allocations: 12 kB / 0.9873 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.8873, allocations: 8 kB / 0.9873 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009561/0.8882, allocations: 426.6 kB / 0.9878 GB, free: 13.91 MB / 0.7481 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.003235/0.8915, allocations: 2.301 MB / 0.99 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.8924, allocations: 402.8 kB / 0.9904 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.893, allocations: 237 kB / 0.9906 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.8933, allocations: 340.6 kB / 0.9909 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006476/0.894, allocations: 312.5 kB / 0.9912 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.894, allocations: 0 / 0.9912 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002289/0.8963, allocations: 0.8898 MB / 0.9921 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.8964, allocations: 81.11 kB / 0.9922 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.8969, allocations: 494.9 kB / 0.9927 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.897, allocations: 33.7 kB / 0.9927 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.8972, allocations: 284.4 kB / 0.993 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.8974, allocations: 106.4 kB / 0.9931 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.8974, allocations: 8 kB / 0.9931 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8976, allocations: 366.8 kB / 0.9934 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.898, allocations: 171.9 kB / 0.9936 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.8985, allocations: 273.1 kB / 0.9938 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.8991, allocations: 230 kB / 0.9941 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8991, allocations: 0 / 0.9941 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001339/0.9005, allocations: 0.628 MB / 0.9947 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.9006, allocations: 164 kB / 0.9948 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9006, allocations: 4 kB / 0.9948 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.9009, allocations: 68.75 kB / 0.9949 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.9013, allocations: 87.88 kB / 0.995 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/0.9018, allocations: 0.5952 MB / 0.9956 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.9024, allocations: 83.72 kB / 0.9956 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.9025, allocations: 16 kB / 0.9957 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.9025, allocations: 7.938 kB / 0.9957 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/0.9037, allocations: 0.5642 MB / 0.9962 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9037, allocations: 4 kB / 0.9962 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.9038, allocations: 44.83 kB / 0.9963 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.9042, allocations: 88.03 kB / 0.9963 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.9061, allocations: 1.631 MB / 0.9979 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.9066, allocations: 71.7 kB / 0.998 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.9067, allocations: 19.98 kB / 0.998 GB, free: 2.723 MB / 0.7481 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.0003965/0.9071, allocations: 304.4 kB / 0.9983 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.9072, allocations: 55.34 kB / 0.9984 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.9086, allocations: 0.6649 MB / 0.999 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.9086, allocations: 7.984 kB / 0.999 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.9086, allocations: 0 / 0.999 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.9099, allocations: 0.8209 MB / 0.9998 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.9121, allocations: 1.315 MB / 1.001 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9121, allocations: 4 kB / 1.001 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.9125, allocations: 63.89 kB / 1.001 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.9126, allocations: 56.8 kB / 1.001 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.9127, allocations: 11.98 kB / 1.001 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/0.9131, allocations: 0.5758 MB / 1.002 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.9131, allocations: 7.891 kB / 1.002 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.9149, allocations: 0.991 MB / 1.003 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.9153, allocations: 196.2 kB / 1.003 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.9153, allocations: 12 kB / 1.003 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.9158, allocations: 63.8 kB / 1.003 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.916, allocations: 23.95 kB / 1.003 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.916, allocations: 27.97 kB / 1.003 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000416/0.9164, allocations: 334.9 kB / 1.003 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9165, allocations: 4 kB / 1.003 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001292/0.9178, allocations: 347.4 kB / 1.004 GB, free: 12.59 MB / 0.7637 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.00071/0.9185, allocations: 290.5 kB / 1.004 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.9205, allocations: 0.9858 MB / 1.005 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9205, allocations: 0 / 1.005 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.9212, allocations: 339.3 kB / 1.005 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.9225, allocations: 253.4 kB / 1.006 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.925, allocations: 1.373 MB / 1.007 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.9255, allocations: 0.8823 MB / 1.008 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.9256, allocations: 47.42 kB / 1.008 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of SimCode: time 7.22e-07/0.9256, allocations: 0 / 1.008 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of Templates: time 0.01777/0.9434, allocations: 11.41 MB / 1.019 GB, free: 12.97 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1