Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 91.61 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002565, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004403/0.1391, allocations: 2.585 MB / 361.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1416, allocations: 0.9478 MB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.1424, allocations: 7.938 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.1429, allocations: 71.36 kB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.1435, allocations: 79.33 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.1442, allocations: 147.8 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000782/0.145, allocations: 482.1 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.1454, allocations: 166 kB / 363.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1456, allocations: 131.3 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1459, allocations: 151.1 kB / 363.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1459, allocations: 12 kB / 363.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.146, allocations: 32 kB / 363.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.1461, allocations: 55.7 kB / 363.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1462, allocations: 113.4 kB / 363.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.1467, allocations: 407.1 kB / 364.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1467, allocations: 0 / 364.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1467, allocations: 0 / 364.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1467, allocations: 0 / 364.1 MB, free: 8.746 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001058/0.1478, allocations: 0.6586 MB / 364.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1479, allocations: 12.03 kB / 364.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.1481, allocations: 67.33 kB / 364.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.1487, allocations: 390.6 kB / 365.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1488, allocations: 32.94 kB / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.1488, allocations: 43.95 kB / 365.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.1496, allocations: 491.4 kB / 365.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1497, allocations: 7.938 kB / 365.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.1497, allocations: 16 kB / 365.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1497, allocations: 16 kB / 365.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.1503, allocations: 250.2 kB / 366.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.1532, allocations: 2.819 MB / 368.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.1537, allocations: 162.6 kB / 369.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1539, allocations: 72.88 kB / 369.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.1541, allocations: 81.11 kB / 369.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.1541, allocations: 38.52 kB / 369.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.1542, allocations: 0 / 369.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001618/0.1558, allocations: 0.6365 MB / 369.9 MB, free: 2.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1558, allocations: 55.41 kB / 369.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.1563, allocations: 341.5 kB / 370.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1564, allocations: 29.7 kB / 370.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.1567, allocations: 307 kB / 370.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.1567, allocations: 63.11 kB / 370.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.1567, allocations: 4 kB / 370.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1569, allocations: 350.8 kB / 371 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.157, allocations: 67.92 kB / 371.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1573, allocations: 219.8 kB / 371.3 MB, free: 1.062 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1579, allocations: 299.2 kB / 371.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1579, allocations: 0 / 371.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007239/0.1587, allocations: 357.4 kB / 371.9 MB, free: 408 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.1587, allocations: 8 kB / 371.9 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1587, allocations: 8.688 kB / 372 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.1589, allocations: 32.84 kB / 372 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.1592, allocations: 83.84 kB / 372.1 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2941/0.4533, allocations: 1.446 MB / 373.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.4538, allocations: 35.05 kB / 373.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.4538, allocations: 18.66 kB / 373.6 MB, free: 18.09 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (39): * Single equations (assignments): 38 * 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.0003885/0.4542, allocations: 170.2 kB / 373.7 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.4543, allocations: 33.31 kB / 373.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.4544, allocations: 39.06 kB / 373.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4544, allocations: 2.375 kB / 373.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4544, allocations: 4.094 kB / 373.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.4544, allocations: 4.562 kB / 373.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.4556, allocations: 0.7147 MB / 374.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4556, allocations: 0 / 374.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4558, allocations: 40.77 kB / 374.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.4559, allocations: 24.05 kB / 374.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.456, allocations: 5.5 kB / 374.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/0.4569, allocations: 1.324 MB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4569, allocations: 1.469 kB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.4575, allocations: 368.5 kB / 376.3 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.4576, allocations: 107.4 kB / 376.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4576, allocations: 4.656 kB / 376.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4578, allocations: 17 kB / 376.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.4578, allocations: 14.31 kB / 376.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4579, allocations: 4.656 kB / 376.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.4582, allocations: 231.4 kB / 376.7 MB, free: 16.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4582, allocations: 0 / 376.7 MB, free: 16.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000528/0.4587, allocations: 72.05 kB / 376.7 MB, free: 16.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * 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 (15): * Single equations (assignments): 14 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.4589, allocations: 105.4 kB / 376.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.4597, allocations: 318.6 kB / 377.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4597, allocations: 2.625 kB / 377.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.4599, allocations: 186.7 kB / 377.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.4603, allocations: 40.83 kB / 377.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4621, allocations: 1.078 MB / 378.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4625, allocations: 0.8157 MB / 379.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4626, allocations: 38.34 kB / 379.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4626, allocations: 0 / 379.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01256/0.4752, allocations: 6.278 MB / 385.6 MB, free: 13.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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 OMCppModelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1