Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 90.41 kB / 17.58 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 180.6 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 224.6 MB, free: 13.14 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004775, allocations: 11.98 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 47.59 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003418/0.1154, allocations: 2.585 MB / 331.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1171, allocations: 0.9333 MB / 332.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.1173, allocations: 7.938 kB / 332.5 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1176, allocations: 67.42 kB / 332.6 MB, free: 476 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1177, allocations: 83.25 kB / 332.7 MB, free: 392 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1182, allocations: 147.8 kB / 332.8 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.1188, allocations: 486.1 kB / 333.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.1191, allocations: 150 kB / 333.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1193, allocations: 139.4 kB / 333.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1195, allocations: 139.1 kB / 333.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.1196, allocations: 16 kB / 333.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1197, allocations: 31.92 kB / 333.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1198, allocations: 55.66 kB / 333.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.1199, allocations: 113.5 kB / 333.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.1203, allocations: 399.2 kB / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1203, allocations: 0 / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1203, allocations: 0 / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1203, allocations: 4 kB / 334.3 MB, free: 14.72 MB / 286.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.00106/0.1214, allocations: 0.6508 MB / 334.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1215, allocations: 8.031 kB / 335 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1216, allocations: 63.25 kB / 335 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.1222, allocations: 390.6 kB / 335.4 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.1222, allocations: 32.95 kB / 335.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.1223, allocations: 43.94 kB / 335.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.1231, allocations: 487.3 kB / 335.9 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1231, allocations: 7.938 kB / 336 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1232, allocations: 20 kB / 336 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1232, allocations: 12 kB / 336 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.1237, allocations: 242.2 kB / 336.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.1264, allocations: 2.842 MB / 339.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.1269, allocations: 154.7 kB / 339.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1271, allocations: 80.8 kB / 339.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.1273, allocations: 93.03 kB / 339.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1274, allocations: 38.56 kB / 339.4 MB, free: 9.238 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.1274, allocations: 0 / 339.4 MB, free: 9.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001414/0.1288, allocations: 0.6263 MB / 340.1 MB, free: 8.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1288, allocations: 51.41 kB / 340.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.1292, allocations: 345.5 kB / 340.4 MB, free: 8.145 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1293, allocations: 25.7 kB / 340.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1295, allocations: 306.9 kB / 340.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.1296, allocations: 59.11 kB / 340.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.1296, allocations: 12 kB / 340.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1298, allocations: 350.8 kB / 341.2 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1299, allocations: 83.62 kB / 341.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1302, allocations: 207.9 kB / 341.5 MB, free: 7.031 MB / 286.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.000622/0.1308, allocations: 273.6 kB / 341.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1309, allocations: 0 / 341.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005714/0.1314, allocations: 369.9 kB / 342.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1315, allocations: 8 kB / 342.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1315, allocations: 4 kB / 342.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.1316, allocations: 40.84 kB / 342.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1319, allocations: 67.91 kB / 342.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.1336, allocations: 1.475 MB / 343.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.1338, allocations: 16 kB / 343.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1338, allocations: 19.98 kB / 343.7 MB, free: 4.605 MB / 286.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.0003338/0.1341, allocations: 178.1 kB / 343.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.1342, allocations: 39.48 kB / 343.9 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.1343, allocations: 39.59 kB / 344 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1343, allocations: 144 / 344 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1343, allocations: 0 / 344 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1343, allocations: 7.969 kB / 344 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.1356, allocations: 0.719 MB / 344.7 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1356, allocations: 4 kB / 344.7 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1358, allocations: 35.97 kB / 344.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/0.1358, allocations: 20.86 kB / 344.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1359, allocations: 7.984 kB / 344.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1369, allocations: 1.324 MB / 346.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.137, allocations: 4.031 kB / 346.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.1376, allocations: 368 kB / 346.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.1377, allocations: 104.6 kB / 346.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1377, allocations: 8 kB / 346.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1379, allocations: 15.98 kB / 346.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.1379, allocations: 15.98 kB / 346.6 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.138, allocations: 4 kB / 346.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1382, allocations: 227.2 kB / 346.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1382, allocations: 0 / 346.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.1387, allocations: 68 kB / 346.9 MB, free: 1.18 MB / 286.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.0001363/0.1388, allocations: 107 kB / 347 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.1394, allocations: 319.6 kB / 347.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1394, allocations: 0 / 347.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.1396, allocations: 190.7 kB / 347.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1399, allocations: 33.73 kB / 347.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1416, allocations: 1.077 MB / 348.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.142, allocations: 0.8222 MB / 349.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.1421, allocations: 35.42 kB / 349.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1421, allocations: 0 / 349.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009031/0.1511, allocations: 6.275 MB / 355.7 MB, free: 8.219 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1