Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.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.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.545e-05, allocations: 4 kB / 205.4 MB, free: 9.801 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 31.98 MB / 237.4 MB, free: 5.297 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.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger): time 1.455/1.594, allocations: 298.5 MB / 0.5233 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4514/2.045, allocations: 194.4 MB / 0.7132 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/2.046, allocations: 30.16 kB / 0.7132 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/2.047, allocations: 261.1 kB / 0.7135 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/2.048, allocations: 0.7832 MB / 0.7142 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02561/2.074, allocations: 11.02 MB / 0.725 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00611/2.08, allocations: 8.598 MB / 0.7334 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/2.083, allocations: 2.424 MB / 0.7357 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/2.085, allocations: 2.266 MB / 0.738 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/2.088, allocations: 3.311 MB / 0.7412 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005355/2.088, allocations: 313.7 kB / 0.7415 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0367/2.125, allocations: 22.89 MB / 0.7638 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002723/2.128, allocations: 1.795 MB / 0.7656 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003124/2.131, allocations: 2.351 MB / 0.7679 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/2.148, allocations: 12.09 MB / 0.7797 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/2.148, allocations: 4 kB / 0.7797 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.264e-06/2.148, allocations: 0 / 0.7797 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.921e-05/2.149, allocations: 0 / 0.7797 GB, free: 4.586 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1134 * Number of variables: 1134 Notification: Performance of Generate backend data structure: time 0.01644/2.165, allocations: 5.684 MB / 0.7852 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/2.165, allocations: 8.031 kB / 0.7853 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/2.166, allocations: 442.9 kB / 0.7857 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/2.169, allocations: 2.098 MB / 0.7877 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/2.169, allocations: 454 kB / 0.7882 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/2.17, allocations: 409.5 kB / 0.7885 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/2.181, allocations: 7.599 MB / 0.796 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/2.181, allocations: 10.89 kB / 0.796 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004589/2.181, allocations: 172 kB / 0.7961 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.414e-05/2.182, allocations: 116 kB / 0.7963 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/2.202, allocations: 18.34 MB / 0.8142 GB, free: 3.035 MB / 0.6231 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.178/2.38, allocations: 92.69 MB / 0.9047 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/2.392, allocations: 7.852 MB / 0.9123 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00655/2.399, allocations: 4.077 MB / 0.9163 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7378/3.136, allocations: 346.1 MB / 1.254 GB, free: 154.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/3.137, allocations: 102.2 kB / 1.254 GB, free: 154.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=676): time 1.314e-05/3.137, allocations: 0 / 1.254 GB, free: 154.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=676): time 0.03931/3.176, allocations: 17.02 MB / 1.271 GB, free: 139.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/3.176, allocations: 144.9 kB / 1.271 GB, free: 139.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/3.178, allocations: 1.432 MB / 1.273 GB, free: 138.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004452/3.178, allocations: 121.7 kB / 1.273 GB, free: 138.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/3.178, allocations: 1.023 MB / 1.274 GB, free: 137.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/3.18, allocations: 2.273 MB / 1.276 GB, free: 134.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005733/3.18, allocations: 0.4919 MB / 1.276 GB, free: 134.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.39e-05/3.18, allocations: 309.1 kB / 1.277 GB, free: 134.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/3.186, allocations: 3.6 MB / 1.28 GB, free: 130.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00562/3.191, allocations: 4.535 MB / 1.285 GB, free: 125.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/3.203, allocations: 8.637 MB / 1.293 GB, free: 116.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/3.203, allocations: 8 kB / 1.293 GB, free: 116.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=806) (initialization): time 0.02313/3.226, allocations: 13.56 MB / 1.306 GB, free: 103.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/3.226, allocations: 12.78 kB / 1.306 GB, free: 103 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-05/3.226, allocations: 23.98 kB / 1.306 GB, free: 103 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07725/3.304, allocations: 23.54 MB / 1.329 GB, free: 79.58 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/3.305, allocations: 363.4 kB / 1.33 GB, free: 79.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03052/3.335, allocations: 15.71 MB / 1.345 GB, free: 63.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/3.34, allocations: 0.693 MB / 1.346 GB, free: 62.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/3.341, allocations: 312.6 kB / 1.346 GB, free: 62.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 20 (sourceP3.C.ftype,sourceP2.C.ftype,echangeurAPlaques.fluid_c,echangeurAPlaques.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1,sourceP1.C.ftype,sourceP.C.ftype,echangeurAPlaques1D.fluid_c,echangeurAPlaques1D.fluid_f,puitsP.fluid,puitsP1.fluid,sourceP1.fluid1,sourceP.fluid1,echangeurAPlaques1D.Ef.diff_on_2,echangeurAPlaques1D.Sf.diff_on_1,echangeurAPlaques1D.Ec.diff_on_2,echangeurAPlaques1D.Sc.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,23), (60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002679/3.343, allocations: 0.8969 MB / 1.347 GB, free: 61.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/3.345, allocations: 355.8 kB / 1.347 GB, free: 61.05 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/3.372, allocations: 15.15 MB / 1.362 GB, free: 45.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001483/3.373, allocations: 1.09 MB / 1.363 GB, free: 44.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/3.373, allocations: 3.938 kB / 1.363 GB, free: 44.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/3.373, allocations: 34.5 kB / 1.363 GB, free: 44.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0385/3.412, allocations: 23.22 MB / 1.386 GB, free: 21.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/3.412, allocations: 4 kB / 1.386 GB, free: 21.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/3.413, allocations: 259.4 kB / 1.386 GB, free: 21.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06899/3.482, allocations: 20.85 MB / 1.406 GB, free: 372 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001368/3.483, allocations: 223.8 kB / 1.407 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2014/3.684, allocations: 15.49 MB / 1.422 GB, free: 429.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/3.684, allocations: 14.72 kB / 1.422 GB, free: 429.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/3.706, allocations: 13.03 MB / 1.434 GB, free: 428.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/3.708, allocations: 1.392 MB / 1.436 GB, free: 427.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005023/3.708, allocations: 118.3 kB / 1.436 GB, free: 427.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/3.711, allocations: 290.3 kB / 1.436 GB, free: 427.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006903/3.712, allocations: 455.8 kB / 1.437 GB, free: 427.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/3.712, allocations: 267.1 kB / 1.437 GB, free: 427.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009736/3.713, allocations: 1.011 MB / 1.438 GB, free: 427.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 7.91e-07/3.713, allocations: 1.812 kB / 1.438 GB, free: 427.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005931/3.719, allocations: 3.234 MB / 1.441 GB, free: 426.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (143): * Single equations (assignments): 140 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,23), (60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007235/3.726, allocations: 3.052 MB / 1.444 GB, free: 426.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02555/3.752, allocations: 10.48 MB / 1.454 GB, free: 421.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/3.752, allocations: 4 kB / 1.454 GB, free: 421.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/3.768, allocations: 5.764 MB / 1.46 GB, free: 416.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/3.774, allocations: 0.9867 MB / 1.461 GB, free: 415.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/3.83, allocations: 15 MB / 1.475 GB, free: 401.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/3.831, allocations: 2.326 MB / 1.478 GB, free: 399 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/3.832, allocations: 211.4 kB / 1.478 GB, free: 398.8 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/3.832, allocations: 0 / 1.478 GB, free: 398.8 MB / 0.795 GB Notification: Performance of Templates: time 0.1101/3.942, allocations: 114.1 MB / 1.589 GB, free: 285.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.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.TestDynamicPlateHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchangerCalcHelperMain.o] Error 1