Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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 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_4.0.0_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_4.0.0_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.0008393/0.0008393, allocations: 93.78 kB / 16.95 MB, free: 5.953 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.0007842/0.0007843, allocations: 172 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 8 kB / 301.4 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1003, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002964/0.1033, allocations: 2.571 MB / 354.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1047, allocations: 0.905 MB / 355.3 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1049, allocations: 11.94 kB / 355.4 MB, free: 284 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1051, allocations: 67.36 kB / 355.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1052, allocations: 75.33 kB / 355.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1056, allocations: 151.8 kB / 355.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1061, allocations: 490.1 kB / 356.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.1063, allocations: 150 kB / 356.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1065, allocations: 131.3 kB / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1067, allocations: 147.1 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.1067, allocations: 12 kB / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.1068, allocations: 24 kB / 356.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.1069, allocations: 55.72 kB / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.1069, allocations: 117.4 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1073, allocations: 403.2 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1073, allocations: 0 / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1073, allocations: 0 / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1073, allocations: 0 / 357.1 MB, free: 14.46 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.0007821/0.1081, allocations: 0.6585 MB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1082, allocations: 16.03 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.1082, allocations: 55.28 kB / 357.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.1087, allocations: 386.7 kB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1087, allocations: 36.94 kB / 358.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1088, allocations: 40 kB / 358.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.1094, allocations: 490.3 kB / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1095, allocations: 11.88 kB / 358.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1095, allocations: 16 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1095, allocations: 19.94 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.11, allocations: 250.2 kB / 359.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1119, allocations: 2.827 MB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.1123, allocations: 162.6 kB / 362.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1125, allocations: 72.88 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1126, allocations: 81.11 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1126, allocations: 34.56 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1126, allocations: 0 / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00115/0.1138, allocations: 0.6418 MB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1138, allocations: 55.41 kB / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1142, allocations: 341.5 kB / 363.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1142, allocations: 25.7 kB / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1144, allocations: 303 kB / 363.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1144, allocations: 67.05 kB / 363.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.1144, allocations: 4 kB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1146, allocations: 346.8 kB / 364 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1147, allocations: 67.97 kB / 364.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1149, allocations: 219.8 kB / 364.3 MB, free: 6.781 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.0005472/0.1155, allocations: 275.3 kB / 364.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1155, allocations: 4 kB / 364.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005121/0.116, allocations: 368.6 kB / 364.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.116, allocations: 8 kB / 364.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.116, allocations: 4 kB / 364.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.1162, allocations: 40.83 kB / 365 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1164, allocations: 79.84 kB / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1175, allocations: 1.46 MB / 366.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1177, allocations: 19.95 kB / 366.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1177, allocations: 24.06 kB / 366.6 MB, free: 4.355 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.0001837/0.1179, allocations: 173.6 kB / 366.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1179, allocations: 35.53 kB / 366.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.118, allocations: 35.59 kB / 366.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.118, allocations: 4 kB / 366.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.118, allocations: 3.938 kB / 366.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.118, allocations: 0 / 366.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.1189, allocations: 0.7214 MB / 367.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1189, allocations: 3.953 kB / 367.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1191, allocations: 39.92 kB / 367.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.614e-05/0.1191, allocations: 24.84 kB / 367.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1192, allocations: 4.031 kB / 367.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/0.1201, allocations: 1.328 MB / 368.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1201, allocations: 0 / 368.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1206, allocations: 379.3 kB / 369.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.1207, allocations: 100.7 kB / 369.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1207, allocations: 4 kB / 369.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1208, allocations: 12.05 kB / 369.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1209, allocations: 15.97 kB / 369.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1209, allocations: 4 kB / 369.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1211, allocations: 235.2 kB / 369.7 MB, free: 1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1211, allocations: 0 / 369.7 MB, free: 1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.1215, allocations: 68 kB / 369.7 MB, free: 0.9336 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.0001141/0.1217, allocations: 103.2 kB / 369.8 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.1222, allocations: 311.7 kB / 370.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1222, allocations: 0 / 370.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.1224, allocations: 186.6 kB / 370.3 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1228, allocations: 37.53 kB / 370.4 MB, free: 284 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1599/0.2827, allocations: 1.072 MB / 371.4 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.283, allocations: 0.8179 MB / 372.2 MB, free: 23.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.2831, allocations: 34.17 kB / 372.3 MB, free: 23.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.813e-06/0.2831, allocations: 0 / 372.3 MB, free: 23.36 MB / 302.1 MB Notification: Performance of Templates: time 0.009583/0.2927, allocations: 6.298 MB / 378.6 MB, free: 22.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1