Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6825/0.6825, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.266e-05/1.266e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 31.99 MB / 237.4 MB, free: 5.523 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.306/1.422, allocations: 293.9 MB / 0.5189 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03115/1.454, allocations: 32.98 MB / 0.5511 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/1.454, allocations: 4 kB / 0.5511 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/1.454, allocations: 83.55 kB / 0.5511 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/1.454, allocations: 107.1 kB / 0.5512 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01201/1.466, allocations: 6.412 MB / 0.5575 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/1.466, allocations: 410 kB / 0.5579 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/1.467, allocations: 147.8 kB / 0.558 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/1.467, allocations: 139.3 kB / 0.5582 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/1.467, allocations: 135.2 kB / 0.5583 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/1.467, allocations: 8 kB / 0.5583 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/1.485, allocations: 14.95 MB / 0.5729 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/1.486, allocations: 43.73 kB / 0.573 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/1.486, allocations: 192.8 kB / 0.5731 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00488/1.491, allocations: 5.126 MB / 0.5781 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/1.491, allocations: 0 / 0.5781 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.491, allocations: 0 / 0.5781 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/1.491, allocations: 0 / 0.5781 GB, free: 0.6289 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002194/1.493, allocations: 1.326 MB / 0.5794 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/1.493, allocations: 11.97 kB / 0.5794 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/1.493, allocations: 43.47 kB / 0.5795 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/1.493, allocations: 263.2 kB / 0.5797 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.493, allocations: 28.59 kB / 0.5798 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/1.493, allocations: 28 kB / 0.5798 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/1.494, allocations: 405.2 kB / 0.5802 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.494, allocations: 0 / 0.5802 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/1.494, allocations: 12 kB / 0.5802 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.494, allocations: 12 kB / 0.5802 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/1.494, allocations: 226.4 kB / 0.5804 GB, free: 14.18 MB / 478.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.001646/1.496, allocations: 2.43 MB / 0.5828 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/1.496, allocations: 159.2 kB / 0.5829 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/1.496, allocations: 93.17 kB / 0.583 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07084/1.567, allocations: 44.47 MB / 0.6265 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.567, allocations: 36.8 kB / 0.6265 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/1.567, allocations: 0 / 0.6265 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001449/1.568, allocations: 0.7198 MB / 0.6272 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/1.568, allocations: 55.41 kB / 0.6273 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/1.569, allocations: 244.9 kB / 0.6275 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/1.569, allocations: 29.7 kB / 0.6275 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/1.569, allocations: 176.2 kB / 0.6277 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/1.569, allocations: 130 kB / 0.6278 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/1.569, allocations: 41.69 kB / 0.6278 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/1.569, allocations: 334.8 kB / 0.6282 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.569, allocations: 68.36 kB / 0.6282 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.569, allocations: 142.2 kB / 0.6284 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.57, allocations: 248.4 kB / 0.6286 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.57, allocations: 0 / 0.6286 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005353/1.57, allocations: 371.8 kB / 0.629 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.57, allocations: 11.94 kB / 0.629 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.57, allocations: 3.938 kB / 0.629 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/1.571, allocations: 255.6 kB / 0.6292 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/1.571, allocations: 4 kB / 0.6292 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/1.573, allocations: 2.584 MB / 0.6317 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/1.573, allocations: 35.53 kB / 0.6318 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.573, allocations: 8.188 kB / 0.6318 GB, free: 3.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sink.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001193/1.573, allocations: 157.5 kB / 0.6319 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/1.573, allocations: 35.55 kB / 0.632 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/1.574, allocations: 0.665 MB / 0.6326 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005546/1.574, allocations: 498 kB / 0.6331 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.574, allocations: 0 / 0.6331 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.574, allocations: 11.86 kB / 0.6331 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.576, allocations: 1.256 MB / 0.6343 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.576, allocations: 4 kB / 0.6343 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.576, allocations: 43.92 kB / 0.6344 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/1.576, allocations: 274.4 kB / 0.6346 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.576, allocations: 11.94 kB / 0.6347 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/1.578, allocations: 2.617 MB / 0.6372 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.578, allocations: 0 / 0.6372 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/1.579, allocations: 0.6177 MB / 0.6378 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/1.579, allocations: 140.5 kB / 0.6379 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.579, allocations: 8 kB / 0.638 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.579, allocations: 15.94 kB / 0.638 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/1.579, allocations: 19.97 kB / 0.638 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.579, allocations: 12 kB / 0.638 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001247/1.579, allocations: 172.5 kB / 0.6382 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.579, allocations: 4 kB / 0.6382 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001895/1.581, allocations: 1.109 MB / 0.6393 GB, free: 11.35 MB / 0.5294 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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003362/1.584, allocations: 1.594 MB / 0.6408 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007953/1.585, allocations: 0.5547 MB / 0.6413 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.585, allocations: 4 kB / 0.6414 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/1.586, allocations: 356.6 kB / 0.6417 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/1.587, allocations: 171.8 kB / 0.6419 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/1.588, allocations: 1.027 MB / 0.6429 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.588, allocations: 0.8402 MB / 0.6437 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/1.588, allocations: 27.44 kB / 0.6437 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/1.588, allocations: 3.938 kB / 0.6437 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of Templates: time 0.02737/1.615, allocations: 27.71 MB / 0.6708 GB, free: 10.93 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o] Error 1