Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.26e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 31.98 MB / 237.4 MB, free: 5.395 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.TestBend): time 1.421/1.563, allocations: 293.8 MB / 0.5187 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4416/2.005, allocations: 189.3 MB / 0.7036 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/2.005, allocations: 10.22 kB / 0.7036 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003203/2.006, allocations: 187 kB / 0.7037 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/2.006, allocations: 263.5 kB / 0.704 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02396/2.03, allocations: 9.656 MB / 0.7134 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006715/2.031, allocations: 0.5135 MB / 0.7139 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/2.031, allocations: 230.5 kB / 0.7141 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/2.031, allocations: 206 kB / 0.7143 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/2.031, allocations: 329.7 kB / 0.7147 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/2.031, allocations: 16.19 kB / 0.7147 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03052/2.062, allocations: 21.19 MB / 0.7354 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/2.062, allocations: 177.5 kB / 0.7355 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/2.063, allocations: 315.2 kB / 0.7358 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/2.074, allocations: 7.404 MB / 0.7431 GB, free: 192 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.074, allocations: 2.734 kB / 0.7431 GB, free: 192 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.285e-06/2.074, allocations: 0 / 0.7431 GB, free: 192 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.815e-05/2.074, allocations: 0 / 0.7431 GB, free: 192 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005277/2.08, allocations: 2.103 MB / 0.7451 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/2.08, allocations: 7.969 kB / 0.7451 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/2.08, allocations: 84.69 kB / 0.7452 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/2.081, allocations: 0.5441 MB / 0.7457 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/2.081, allocations: 30.19 kB / 0.7458 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/2.081, allocations: 37.16 kB / 0.7458 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/2.081, allocations: 493 kB / 0.7463 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/2.081, allocations: 2.938 kB / 0.7463 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/2.081, allocations: 19.33 kB / 0.7463 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/2.081, allocations: 8.344 kB / 0.7463 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/2.082, allocations: 423.2 kB / 0.7467 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008498/2.09, allocations: 6.704 MB / 0.7533 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/2.091, allocations: 126.5 kB / 0.7534 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/2.091, allocations: 43.16 kB / 0.7534 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2888/2.38, allocations: 156 MB / 0.9058 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/2.38, allocations: 36.97 kB / 0.9058 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/2.38, allocations: 3.844 kB / 0.9058 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.002088/2.382, allocations: 478.7 kB / 0.9063 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/2.382, allocations: 102.8 kB / 0.9064 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/2.383, allocations: 1.067 MB / 0.9074 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/2.383, allocations: 25.7 kB / 0.9075 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/2.383, allocations: 391.5 kB / 0.9078 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/2.383, allocations: 46.77 kB / 0.9079 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/2.384, allocations: 36.77 kB / 0.9079 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001392/2.384, allocations: 380.5 kB / 0.9083 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/2.384, allocations: 132.7 kB / 0.9084 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/2.384, allocations: 262.3 kB / 0.9087 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/2.384, allocations: 313.9 kB / 0.909 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/2.384, allocations: 4 kB / 0.909 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001234/2.386, allocations: 0.5611 MB / 0.9095 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/2.386, allocations: 9.094 kB / 0.9095 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/2.386, allocations: 4 kB / 0.9095 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/2.387, allocations: 219.6 kB / 0.9097 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/2.387, allocations: 50.44 kB / 0.9098 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005041/2.388, allocations: 0.6222 MB / 0.9104 GB, free: 2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/2.388, allocations: 43.08 kB / 0.9104 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/2.388, allocations: 23.88 kB / 0.9104 GB, free: 1.941 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/2.388, allocations: 267.1 kB / 0.9107 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/2.389, allocations: 63.16 kB / 0.9108 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/2.389, allocations: 264.8 kB / 0.911 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/2.389, allocations: 0 / 0.911 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/2.389, allocations: 0 / 0.911 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/2.389, allocations: 3.938 kB / 0.911 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/2.391, allocations: 0.8413 MB / 0.9118 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/2.391, allocations: 0 / 0.9118 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/2.391, allocations: 6.906 kB / 0.9118 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/2.392, allocations: 198.6 kB / 0.912 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/2.392, allocations: 4 kB / 0.912 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004753/2.393, allocations: 0.638 MB / 0.9127 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.393, allocations: 0 / 0.9127 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/2.394, allocations: 400.7 kB / 0.913 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/2.394, allocations: 174.9 kB / 0.9132 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/2.394, allocations: 7.688 kB / 0.9132 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/2.394, allocations: 4 kB / 0.9132 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/2.394, allocations: 15.98 kB / 0.9132 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/2.394, allocations: 4 kB / 0.9132 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007476/2.395, allocations: 0.7819 MB / 0.914 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/2.395, allocations: 0 / 0.914 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003778/2.399, allocations: 1.649 MB / 0.9156 GB, free: 13.23 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005505/2.404, allocations: 2.548 MB / 0.9181 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004404/2.405, allocations: 241.8 kB / 0.9183 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/2.405, allocations: 0 / 0.9183 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/2.405, allocations: 54.94 kB / 0.9184 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/2.405, allocations: 94.38 kB / 0.9185 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/2.407, allocations: 1.331 MB / 0.9198 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/2.407, allocations: 0.932 MB / 0.9207 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/2.407, allocations: 39.42 kB / 0.9207 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of SimCode: time 2.4e-07/2.407, allocations: 0 / 0.9207 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of Templates: time 0.04296/2.45, allocations: 34.89 MB / 0.9548 GB, free: 5.773 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.TestBendCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBendCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBendCalcHelperMain.o] Error 1