Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9141/0.9141, allocations: 150.8 MB / 166.6 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003243, allocations: 15.98 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2149, allocations: 31.33 MB / 236 MB, free: 5.461 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.783/1.998, allocations: 293.5 MB / 0.5171 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6335/2.631, allocations: 188.6 MB / 0.7013 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/2.632, allocations: 12.78 kB / 0.7013 GB, free: 3.891 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002652/2.632, allocations: 51.94 kB / 0.7013 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004998/2.632, allocations: 174.1 kB / 0.7015 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03165/2.664, allocations: 8.803 MB / 0.7101 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001111/2.665, allocations: 0.6674 MB / 0.7107 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/2.666, allocations: 375.1 kB / 0.7111 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/2.666, allocations: 266.5 kB / 0.7114 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/2.666, allocations: 309.6 kB / 0.7117 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/2.666, allocations: 53.22 kB / 0.7117 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03568/2.702, allocations: 16.83 MB / 0.7281 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/2.702, allocations: 136 kB / 0.7283 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007025/2.703, allocations: 330.3 kB / 0.7286 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/2.721, allocations: 6.171 MB / 0.7346 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/2.722, allocations: 0 / 0.7346 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.356e-06/2.722, allocations: 0 / 0.7346 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.187e-05/2.722, allocations: 0 / 0.7346 GB, free: 2.996 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00779/2.729, allocations: 1.832 MB / 0.7364 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/2.729, allocations: 11.53 kB / 0.7364 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/2.73, allocations: 81.41 kB / 0.7365 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/2.73, allocations: 389.2 kB / 0.7369 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/2.73, allocations: 50 kB / 0.7369 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/2.73, allocations: 61.53 kB / 0.737 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/2.732, allocations: 0.6909 MB / 0.7376 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/2.732, allocations: 0 / 0.7376 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/2.732, allocations: 29.34 kB / 0.7377 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/2.732, allocations: 18.41 kB / 0.7377 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/2.733, allocations: 460.5 kB / 0.7381 GB, free: 1.172 MB / 0.5762 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.07411/2.807, allocations: 34.76 MB / 0.7721 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/2.807, allocations: 167.7 kB / 0.7722 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/2.807, allocations: 66.89 kB / 0.7723 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8752/3.682, allocations: 213.2 MB / 0.9805 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/3.683, allocations: 32.98 kB / 0.9805 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/3.683, allocations: 0 / 0.9805 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001817/3.684, allocations: 0.649 MB / 0.9811 GB, free: 264.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/3.684, allocations: 54 kB / 0.9812 GB, free: 264.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/3.685, allocations: 434.5 kB / 0.9816 GB, free: 264.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/3.685, allocations: 28.14 kB / 0.9816 GB, free: 264.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/3.685, allocations: 365.5 kB / 0.982 GB, free: 264.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/3.685, allocations: 65.08 kB / 0.982 GB, free: 264.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/3.685, allocations: 110.7 kB / 0.9821 GB, free: 264.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/3.686, allocations: 353.1 kB / 0.9825 GB, free: 264.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/3.686, allocations: 84.14 kB / 0.9825 GB, free: 264.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/3.686, allocations: 317.6 kB / 0.9828 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/3.686, allocations: 434.7 kB / 0.9833 GB, free: 263.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/3.686, allocations: 2.812 kB / 0.9833 GB, free: 263.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001167/3.688, allocations: 0.5489 MB / 0.9838 GB, free: 263.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/3.688, allocations: 8.625 kB / 0.9838 GB, free: 263.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/3.688, allocations: 9.141 kB / 0.9838 GB, free: 263.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/3.688, allocations: 133.1 kB / 0.9839 GB, free: 263.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/3.688, allocations: 80.91 kB / 0.984 GB, free: 263.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.69, allocations: 2.456 MB / 0.9864 GB, free: 261.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/3.69, allocations: 80.2 kB / 0.9865 GB, free: 261.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/3.69, allocations: 24.91 kB / 0.9865 GB, free: 261.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (massFlowMultiplier.fluid1,massFlowMultiplier.Cs.ftype,sourcePQ.C.ftype,massFlowMultiplier.fluids[1],sink.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,sourcePQ.fluid1,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourcePQ.C.diff_on_2,massFlowMultiplier.Cs.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/3.691, allocations: 196.8 kB / 0.9867 GB, free: 261 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/3.691, allocations: 39.81 kB / 0.9867 GB, free: 261 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/3.692, allocations: 333.1 kB / 0.9871 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/3.692, allocations: 7.828 kB / 0.9871 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/3.692, allocations: 2.328 kB / 0.9871 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/3.692, allocations: 0.6875 kB / 0.9871 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/3.692, allocations: 442.1 kB / 0.9875 GB, free: 260.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/3.692, allocations: 0 / 0.9875 GB, free: 260.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/3.692, allocations: 13.84 kB / 0.9875 GB, free: 260.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/3.693, allocations: 123.2 kB / 0.9876 GB, free: 260.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/3.693, allocations: 5.969 kB / 0.9876 GB, free: 260.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/3.694, allocations: 2.429 MB / 0.99 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/3.694, allocations: 0 / 0.99 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/3.695, allocations: 407.3 kB / 0.9904 GB, free: 258.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/3.695, allocations: 130.7 kB / 0.9905 GB, free: 258.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/3.695, allocations: 11.75 kB / 0.9905 GB, free: 258.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/3.695, allocations: 1.125 kB / 0.9905 GB, free: 258.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/3.695, allocations: 20.77 kB / 0.9905 GB, free: 258.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/3.695, allocations: 11.78 kB / 0.9906 GB, free: 258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004013/3.695, allocations: 284 kB / 0.9908 GB, free: 258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/3.695, allocations: 0 / 0.9908 GB, free: 258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005823/3.701, allocations: 1.318 MB / 0.9921 GB, free: 257.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006521/3.708, allocations: 1.958 MB / 0.994 GB, free: 257.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009037/3.709, allocations: 379.5 kB / 0.9944 GB, free: 257.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/3.709, allocations: 0 / 0.9944 GB, free: 257.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/3.709, allocations: 204.1 kB / 0.9946 GB, free: 257.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/3.71, allocations: 99.27 kB / 0.9947 GB, free: 257.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/3.711, allocations: 1.005 MB / 0.9957 GB, free: 256.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/3.711, allocations: 0.8491 MB / 0.9965 GB, free: 256.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/3.711, allocations: 35.84 kB / 0.9965 GB, free: 256.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/3.711, allocations: 2.594 kB / 0.9965 GB, free: 256.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.04443/3.756, allocations: 33.28 MB / 1.029 GB, free: 244.5 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.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 OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o] Error 1