Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve.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.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7468/0.7468, allocations: 150.8 MB / 166.7 MB, free: 15.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.936e-05, allocations: 7.938 kB / 205.4 MB, free: 9.777 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 31.98 MB / 237.4 MB, free: 5.449 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.TestIdealSwitchValve): time 1.457/1.604, allocations: 294.7 MB / 0.5196 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4573/2.061, allocations: 192.7 MB / 0.7078 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/2.062, allocations: 9 kB / 0.7078 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/2.062, allocations: 53.06 kB / 0.7079 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/2.062, allocations: 190.8 kB / 0.7081 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0248/2.087, allocations: 10.44 MB / 0.7183 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007649/2.088, allocations: 0.7553 MB / 0.719 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/2.088, allocations: 349 kB / 0.7193 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/2.089, allocations: 255.5 kB / 0.7196 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/2.089, allocations: 307.7 kB / 0.7199 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/2.089, allocations: 33.16 kB / 0.7199 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03186/2.121, allocations: 22.51 MB / 0.7419 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/2.121, allocations: 124.3 kB / 0.742 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/2.121, allocations: 350.7 kB / 0.7423 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/2.133, allocations: 8.033 MB / 0.7502 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/2.133, allocations: 4 kB / 0.7502 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/2.133, allocations: 0 / 0.7502 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.736e-06/2.133, allocations: 0 / 0.7502 GB, free: 14.83 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.004979/2.138, allocations: 2.259 MB / 0.7524 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/2.138, allocations: 11.5 kB / 0.7524 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/2.138, allocations: 83 kB / 0.7525 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/2.139, allocations: 428.4 kB / 0.7529 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/2.139, allocations: 79.05 kB / 0.753 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/2.139, allocations: 65.16 kB / 0.753 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/2.14, allocations: 0.6818 MB / 0.7537 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/2.14, allocations: 0 / 0.7537 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/2.14, allocations: 31.39 kB / 0.7537 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/2.14, allocations: 17.78 kB / 0.7538 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/2.141, allocations: 0.5566 MB / 0.7543 GB, free: 12.64 MB / 0.5919 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.008282/2.149, allocations: 7.426 MB / 0.7615 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/2.15, allocations: 354.1 kB / 0.7619 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/2.15, allocations: 127.5 kB / 0.762 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5895/2.739, allocations: 223.8 MB / 0.9805 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/2.74, allocations: 202.8 kB / 0.9807 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 2.444e-06/2.74, allocations: 0 / 0.9807 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.002464/2.742, allocations: 0.843 MB / 0.9815 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/2.742, allocations: 112.7 kB / 0.9816 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/2.743, allocations: 438.2 kB / 0.9821 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/2.743, allocations: 33.36 kB / 0.9821 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/2.743, allocations: 326.5 kB / 0.9824 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/2.743, allocations: 121.6 kB / 0.9825 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/2.743, allocations: 50.69 kB / 0.9826 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.686e-05/2.743, allocations: 350.7 kB / 0.9829 GB, free: 453.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/2.743, allocations: 118.5 kB / 0.983 GB, free: 453.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/2.744, allocations: 230.4 kB / 0.9832 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/2.748, allocations: 1.18 MB / 0.9844 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.748, allocations: 3.438 kB / 0.9844 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008126/2.748, allocations: 0.5664 MB / 0.9849 GB, free: 453.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/2.748, allocations: 43.36 kB / 0.985 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/2.748, allocations: 2.812 kB / 0.985 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/2.75, allocations: 329.5 kB / 0.9853 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/2.75, allocations: 72.89 kB / 0.9854 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004926/2.751, allocations: 0.6987 MB / 0.9861 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/2.751, allocations: 59.03 kB / 0.9861 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/2.751, allocations: 21.56 kB / 0.9861 GB, free: 452.6 MB / 0.8106 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 11 (SourceP1.C.ftype,$PRE.pulse.T0,PuitsP1.fluid,perteDP2.fluid,perteDP1.fluid,pulse.yL.signal,pulse.T0,$whenCondition1,SourceP1.fluid1,perteDP2.C1.diff_on_2,perteDP1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002313/2.751, allocations: 235.6 kB / 0.9864 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/2.751, allocations: 47.47 kB / 0.9864 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/2.752, allocations: 0.5334 MB / 0.9869 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.752, allocations: 5.25 kB / 0.9869 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/2.752, allocations: 2.031 kB / 0.9869 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/2.752, allocations: 2.719 kB / 0.9869 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/2.753, allocations: 0.5357 MB / 0.9875 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/2.753, allocations: 3.938 kB / 0.9875 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/2.753, allocations: 40.56 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/2.754, allocations: 294.6 kB / 0.9878 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/2.754, allocations: 11.91 kB / 0.9878 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004325/2.755, allocations: 0.713 MB / 0.9885 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/2.755, allocations: 0 / 0.9885 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/2.755, allocations: 486.5 kB / 0.9889 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/2.756, allocations: 176.6 kB / 0.9891 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/2.756, allocations: 10.78 kB / 0.9891 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/2.756, allocations: 16.81 kB / 0.9891 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/2.756, allocations: 29.05 kB / 0.9892 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/2.756, allocations: 15.27 kB / 0.9892 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002608/2.756, allocations: 317.5 kB / 0.9895 GB, free: 451.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/2.756, allocations: 0 / 0.9895 GB, free: 451.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004106/2.76, allocations: 1.876 MB / 0.9913 GB, free: 451.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T0,pulse.yL.signal) * Number of discrete states: 3 (pulse.yL.signal,pulse.T0,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006647/2.767, allocations: 2.891 MB / 0.9941 GB, free: 451 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006777/2.768, allocations: 402.6 kB / 0.9945 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.768, allocations: 0 / 0.9945 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/2.768, allocations: 227.1 kB / 0.9947 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/2.768, allocations: 100.9 kB / 0.9948 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/2.77, allocations: 1.226 MB / 0.996 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/2.77, allocations: 0.8711 MB / 0.9969 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/2.77, allocations: 48.25 kB / 0.9969 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/2.77, allocations: 0 / 0.9969 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.04337/2.813, allocations: 36.83 MB / 1.033 GB, free: 430.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve.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.TestIdealSwitchValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValveCalcHelperMain.o] Error 1