Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve.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.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6905/0.6905, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.343e-05/1.345e-05, allocations: 4 kB / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 31.98 MB / 237.4 MB, free: 5.398 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.TestSwitchValve): time 1.319/1.432, allocations: 294.6 MB / 0.5195 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1611/1.593, allocations: 185.5 MB / 0.7007 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/1.593, allocations: 4 kB / 0.7007 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/1.593, allocations: 107.4 kB / 0.7008 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/1.593, allocations: 166.7 kB / 0.701 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2452/1.839, allocations: 8.851 MB / 0.7096 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006312/1.839, allocations: 0.6572 MB / 0.7102 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/1.839, allocations: 207.5 kB / 0.7104 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/1.84, allocations: 243.5 kB / 0.7107 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/1.84, allocations: 212.5 kB / 0.7109 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/1.84, allocations: 17.88 kB / 0.7109 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02372/1.864, allocations: 20.15 MB / 0.7306 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/1.864, allocations: 77.28 kB / 0.7307 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/1.864, allocations: 274.6 kB / 0.7309 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007248/1.871, allocations: 6.782 MB / 0.7375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/1.871, allocations: 1.094 kB / 0.7375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/1.871, allocations: 0 / 0.7375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.871, allocations: 0 / 0.7375 GB, free: 3.707 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003348/1.875, allocations: 1.869 MB / 0.7394 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/1.875, allocations: 8.25 kB / 0.7394 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/1.875, allocations: 60.25 kB / 0.7394 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/1.875, allocations: 336.3 kB / 0.7398 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/1.875, allocations: 55.27 kB / 0.7398 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/1.875, allocations: 47.66 kB / 0.7398 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/1.876, allocations: 0.5453 MB / 0.7404 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.876, allocations: 5.734 kB / 0.7404 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/1.876, allocations: 19.28 kB / 0.7404 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.876, allocations: 22.8 kB / 0.7404 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/1.876, allocations: 348.5 kB / 0.7408 GB, free: 1.852 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.03152/1.908, allocations: 19.5 MB / 0.7598 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/1.908, allocations: 330.5 kB / 0.7601 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/1.909, allocations: 191.8 kB / 0.7603 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2659/2.174, allocations: 151.8 MB / 0.9085 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/2.175, allocations: 285.6 kB / 0.9088 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=71): time 1.633e-06/2.175, allocations: 0 / 0.9088 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=71): time 0.002808/2.178, allocations: 1.121 MB / 0.9099 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/2.178, allocations: 174.4 kB / 0.91 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/2.178, allocations: 351.6 kB / 0.9104 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/2.178, allocations: 33.27 kB / 0.9104 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/2.178, allocations: 231.5 kB / 0.9106 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/2.178, allocations: 229.5 kB / 0.9108 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/2.179, allocations: 60.12 kB / 0.9109 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001095/2.179, allocations: 357.3 kB / 0.9112 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/2.179, allocations: 147.8 kB / 0.9114 GB, free: 468 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/2.179, allocations: 237.7 kB / 0.9116 GB, free: 268 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/2.183, allocations: 1.226 MB / 0.9128 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.183, allocations: 5.016 kB / 0.9128 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008102/2.183, allocations: 0.6596 MB / 0.9135 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/2.183, allocations: 33.7 kB / 0.9135 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/2.183, allocations: 0 / 0.9135 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/2.186, allocations: 0.7113 MB / 0.9142 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/2.186, allocations: 26.58 kB / 0.9142 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/2.187, allocations: 0.9328 MB / 0.9151 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/2.187, allocations: 66.64 kB / 0.9152 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/2.187, allocations: 12 kB / 0.9152 GB, free: 13.21 MB / 0.7637 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: 11 * Number of states: 0 () * Number of discrete variables: 12 (perteDP1.C2.b,perteDP1.C1.a,perteDP2.C2.b,perteDP2.C1.a,SwitchValve.C2.b,SwitchValve.C1.a,PuitsP1.C.a,SourceP1.C.b,$PRE.pulse.T0,pulse.yL.signal,pulse.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/2.187, allocations: 196.6 kB / 0.9154 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/2.187, allocations: 59.17 kB / 0.9154 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/2.188, allocations: 1.135 MB / 0.9166 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008162/2.189, allocations: 0.703 MB / 0.9172 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.189, allocations: 0 / 0.9172 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/2.189, allocations: 7.969 kB / 0.9172 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/2.191, allocations: 1.693 MB / 0.9189 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/2.191, allocations: 0 / 0.9189 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/2.191, allocations: 57.78 kB / 0.919 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/2.193, allocations: 0.7161 MB / 0.9197 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/2.193, allocations: 11.38 kB / 0.9197 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/2.194, allocations: 0.994 MB / 0.9206 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/2.194, allocations: 0 / 0.9206 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/2.195, allocations: 0.8242 MB / 0.9214 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/2.195, allocations: 197.8 kB / 0.9216 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/2.195, allocations: 11.38 kB / 0.9216 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/2.195, allocations: 19.38 kB / 0.9217 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/2.195, allocations: 36.06 kB / 0.9217 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/2.195, allocations: 13.55 kB / 0.9217 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002672/2.196, allocations: 320.9 kB / 0.922 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/2.196, allocations: 0 / 0.922 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003075/2.199, allocations: 1.545 MB / 0.9235 GB, free: 6.301 MB / 0.7637 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 (36): * Single equations (assignments): 34 * 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 {(5,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004793/2.204, allocations: 2.334 MB / 0.9258 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009279/2.205, allocations: 0.6885 MB / 0.9265 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/2.205, allocations: 2.906 kB / 0.9265 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/2.205, allocations: 370.6 kB / 0.9268 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/2.206, allocations: 241.8 kB / 0.9271 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/2.208, allocations: 1.392 MB / 0.9284 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/2.208, allocations: 0.8987 MB / 0.9293 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/2.208, allocations: 39.25 kB / 0.9293 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of SimCode: time 2.1e-07/2.208, allocations: 3.938 kB / 0.9293 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of Templates: time 0.03495/2.243, allocations: 33.03 MB / 0.9616 GB, free: 184 kB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve.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.Examples.SimpleExamples.TestSwitchValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValveCalcHelperMain.o] Error 1