Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 239.7 MB, free: 5.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 180.5 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03778/0.03778, allocations: 8.794 MB / 350.8 MB, free: 4.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8.75 kB / 413.8 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.0975, allocations: 52.56 MB / 466.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003111/0.1007, allocations: 2.034 MB / 468.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1018, allocations: 0.5613 MB / 469 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1019, allocations: 4 kB / 469 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.102, allocations: 23.77 kB / 469 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1022, allocations: 59.53 kB / 469 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1024, allocations: 43.89 kB / 469.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1027, allocations: 234.9 kB / 469.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1029, allocations: 64.83 kB / 469.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.103, allocations: 75.66 kB / 469.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1031, allocations: 87.62 kB / 469.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1032, allocations: 8 kB / 469.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1033, allocations: 12 kB / 469.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.1033, allocations: 35.84 kB / 469.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1034, allocations: 65.52 kB / 469.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1036, allocations: 167.5 kB / 469.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1036, allocations: 0 / 469.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1037, allocations: 0 / 469.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1037, allocations: 0 / 469.8 MB, free: 10.06 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000733/0.1044, allocations: 478.6 kB / 470.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1045, allocations: 8.031 kB / 470.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1045, allocations: 31.67 kB / 470.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1048, allocations: 224.2 kB / 470.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1048, allocations: 15.95 kB / 470.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.1049, allocations: 20 kB / 470.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1052, allocations: 183.2 kB / 470.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1052, allocations: 4 kB / 470.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.1053, allocations: 15.98 kB / 470.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1053, allocations: 4 kB / 470.8 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.1055, allocations: 115.9 kB / 470.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1067, allocations: 0.748 MB / 471.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.107, allocations: 138.6 kB / 471.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.1071, allocations: 56.84 kB / 471.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1071, allocations: 4 kB / 471.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1073, allocations: 99.28 kB / 471.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.1073, allocations: 4 kB / 471.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006264/0.108, allocations: 285.2 kB / 472.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.108, allocations: 63.34 kB / 472.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1082, allocations: 179.1 kB / 472.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1082, allocations: 29.7 kB / 472.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.1083, allocations: 144.2 kB / 472.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1084, allocations: 55.25 kB / 472.7 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1084, allocations: 0 / 472.7 MB, free: 6.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1085, allocations: 334.8 kB / 473 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.1086, allocations: 28 kB / 473 MB, free: 6.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.1087, allocations: 72.27 kB / 473.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.1088, allocations: 42.25 kB / 473.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1088, allocations: 4 kB / 473.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002974/0.1091, allocations: 174.2 kB / 473.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1091, allocations: 4 kB / 473.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1092, allocations: 4 kB / 473.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.1094, allocations: 44.89 kB / 473.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1095, allocations: 23.98 kB / 473.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1107, allocations: 1.362 MB / 474.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1108, allocations: 27.86 kB / 474.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1108, allocations: 4 kB / 474.8 MB, free: 4.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,switch.control,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.111, allocations: 134.2 kB / 474.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.111, allocations: 19.77 kB / 474.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.111, allocations: 29.58 kB / 475 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1111, allocations: 4 kB / 475 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1111, allocations: 0 / 475 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1111, allocations: 0 / 475 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1113, allocations: 257.5 kB / 475.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1114, allocations: 0 / 475.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1115, allocations: 20 kB / 475.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.1116, allocations: 40.84 kB / 475.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1116, allocations: 4 kB / 475.3 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1127, allocations: 1.355 MB / 476.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1127, allocations: 0 / 476.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1131, allocations: 240.1 kB / 476.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1132, allocations: 100.8 kB / 477 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1132, allocations: 4 kB / 477 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1133, allocations: 15.98 kB / 477 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1134, allocations: 11.98 kB / 477 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1134, allocations: 4 kB / 477 MB, free: 2.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1135, allocations: 137.3 kB / 477.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1135, allocations: 0 / 477.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1138, allocations: 59.84 kB / 477.2 MB, free: 2.031 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.1139, allocations: 103.2 kB / 477.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.1143, allocations: 214.8 kB / 477.5 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1143, allocations: 4.062 kB / 477.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.1145, allocations: 174.5 kB / 477.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1148, allocations: 32.12 kB / 477.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.1157, allocations: 0.5784 MB / 478.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.116, allocations: 0.7283 MB / 479 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.1161, allocations: 19.38 kB / 479 MB, free: 100 kB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1161, allocations: 0 / 479 MB, free: 100 kB / 302.1 MB Notification: Performance of Templates: time 0.00505/0.1211, allocations: 2.973 MB / 482 MB, free: 13.13 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.Thermal.CouplingCalcHelperMain.o OMCppHanserModelica_HanserModelica.Thermal.CouplingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Thermal.CouplingCalcHelperMain.o] Error 1