Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve.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.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.313e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 31.99 MB / 237.4 MB, free: 5.406 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.TestThreeWayValve): time 1.303/1.421, allocations: 296.5 MB / 0.5214 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3889/1.81, allocations: 189.2 MB / 0.7062 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/1.811, allocations: 19 kB / 0.7063 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/1.811, allocations: 122 kB / 0.7064 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008634/1.812, allocations: 382.4 kB / 0.7067 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02046/1.833, allocations: 9.753 MB / 0.7163 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001105/1.834, allocations: 1.49 MB / 0.7177 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005791/1.834, allocations: 0.7706 MB / 0.7185 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/1.835, allocations: 471.6 kB / 0.7189 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/1.835, allocations: 0.5278 MB / 0.7194 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/1.835, allocations: 54.28 kB / 0.7195 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02365/1.859, allocations: 20.26 MB / 0.7393 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/1.859, allocations: 225.1 kB / 0.7395 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006199/1.86, allocations: 0.6272 MB / 0.7401 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007838/1.868, allocations: 7.777 MB / 0.7477 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/1.868, allocations: 0 / 0.7477 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/1.868, allocations: 0 / 0.7477 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.868, allocations: 5.844 kB / 0.7477 GB, free: 15.42 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004087/1.872, allocations: 2.43 MB / 0.7501 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/1.872, allocations: 9.375 kB / 0.7501 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/1.872, allocations: 157.8 kB / 0.7502 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/1.873, allocations: 0.7257 MB / 0.7509 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/1.873, allocations: 101.3 kB / 0.751 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.873, allocations: 125.6 kB / 0.7511 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.874, allocations: 1.329 MB / 0.7524 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.875, allocations: 2.906 kB / 0.7525 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/1.875, allocations: 51.69 kB / 0.7525 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/1.875, allocations: 36.23 kB / 0.7525 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.876, allocations: 1.063 MB / 0.7536 GB, free: 12.81 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.02129/1.897, allocations: 19.55 MB / 0.7727 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/1.898, allocations: 397.2 kB / 0.773 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/1.898, allocations: 181.9 kB / 0.7732 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3323/2.231, allocations: 182 MB / 0.9509 GB, free: 9.934 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/2.231, allocations: 39.86 kB / 0.951 GB, free: 9.887 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/2.231, allocations: 0 / 0.951 GB, free: 9.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.003895/2.235, allocations: 1.265 MB / 0.9522 GB, free: 8.812 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/2.235, allocations: 55.41 kB / 0.9523 GB, free: 8.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/2.236, allocations: 0.8415 MB / 0.9531 GB, free: 8.102 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/2.236, allocations: 34.08 kB / 0.9531 GB, free: 8.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/2.236, allocations: 0.6482 MB / 0.9538 GB, free: 7.559 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/2.236, allocations: 129.9 kB / 0.9539 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/2.236, allocations: 90.41 kB / 0.954 GB, free: 7.391 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001326/2.236, allocations: 389.8 kB / 0.9543 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/2.237, allocations: 233.4 kB / 0.9546 GB, free: 6.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/2.237, allocations: 0.5837 MB / 0.9551 GB, free: 6.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/2.238, allocations: 0.8222 MB / 0.9559 GB, free: 5.484 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/2.238, allocations: 4 kB / 0.9559 GB, free: 5.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001475/2.24, allocations: 1.006 MB / 0.9569 GB, free: 4.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/2.24, allocations: 9.406 kB / 0.9569 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/2.24, allocations: 12 kB / 0.9569 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/2.243, allocations: 0.6431 MB / 0.9576 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/2.243, allocations: 136.9 kB / 0.9577 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/2.244, allocations: 0.9644 MB / 0.9586 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/2.244, allocations: 131.1 kB / 0.9588 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/2.245, allocations: 51.8 kB / 0.9588 GB, free: 3.105 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 24 (threeWayValve.VolumeA1.Cs2.ftype,SourceP1.C.ftype,threeWayValve.VolumeA1.Cs1.ftype,threeWayValve.VolumeA1.Ce2.ftype,threeWayValve.VolumeA1.Ce2.diff_on_1,threeWayValve.VolumeA1.fluids[1],threeWayValve.VolumeA1.Cs2.diff_on_2,threeWayValve.VolumeA1.Cs1.diff_on_2,threeWayValve.PerteDP1.C2.diff_on_1,PuitsP1.fluid,threeWayValve.Valve1.fluid,threeWayValve.Valve2.fluid,threeWayValve.PerteDP1.fluid,PuitsP2.fluid,threeWayValve.VolumeA1.fluid1,threeWayValve.fluid1,SourceP1.fluid1,threeWayValve.VolumeA1.Ce1.diff_on_2,SourceP1.C.diff_on_2,threeWayValve.VolumeA1.Cs2.diff_on_1,threeWayValve.C3.diff_on_1,threeWayValve.VolumeA1.Cs1.diff_on_1,threeWayValve.C2.diff_on_1,threeWayValve.VolumeA1.Ce2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(4,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0003349/2.245, allocations: 301 kB / 0.9591 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/2.245, allocations: 86.91 kB / 0.9592 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/2.246, allocations: 0.701 MB / 0.9599 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/2.246, allocations: 7 kB / 0.9599 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/2.246, allocations: 0 / 0.9599 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/2.246, allocations: 7.969 kB / 0.9599 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/2.247, allocations: 0.8318 MB / 0.9607 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/2.247, allocations: 0 / 0.9607 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/2.247, allocations: 27.98 kB / 0.9607 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/2.249, allocations: 493.6 kB / 0.9612 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/2.249, allocations: 8 kB / 0.9612 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/2.25, allocations: 0.9714 MB / 0.9622 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/2.25, allocations: 0 / 0.9622 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/2.251, allocations: 0.7184 MB / 0.9629 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/2.252, allocations: 215.9 kB / 0.9631 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/2.252, allocations: 12 kB / 0.9631 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/2.252, allocations: 18.89 kB / 0.9631 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/2.252, allocations: 35.64 kB / 0.9631 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/2.252, allocations: 16 kB / 0.9631 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005705/2.253, allocations: 0.5399 MB / 0.9637 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/2.253, allocations: 0 / 0.9637 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003149/2.256, allocations: 1.646 MB / 0.9653 GB, free: 12.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004588/2.261, allocations: 2.267 MB / 0.9675 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001171/2.262, allocations: 0.6121 MB / 0.9681 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.262, allocations: 0 / 0.9681 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/2.262, allocations: 240.7 kB / 0.9683 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/2.263, allocations: 184.2 kB / 0.9685 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/2.265, allocations: 2.181 MB / 0.9706 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/2.266, allocations: 1.039 MB / 0.9716 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/2.266, allocations: 67.42 kB / 0.9717 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/2.266, allocations: 0 / 0.9717 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.1746/2.441, allocations: 39.77 MB / 1.011 GB, free: 446.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve.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.TestThreeWayValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValveCalcHelperMain.o] Error 1