Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.000814, allocations: 88.69 kB / 17.58 MB, free: 5.754 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.0008727/0.0008728, allocations: 183.8 kB / 18.47 MB, free: 5.207 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.564/1.564, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004504/0.0004505, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1113, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006196/0.1176, allocations: 5.122 MB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1209, allocations: 1.602 MB / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1215, allocations: 31.81 kB / 335.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1219, allocations: 178.5 kB / 335.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1223, allocations: 166.5 kB / 336.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.1232, allocations: 335.6 kB / 336.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1245, allocations: 1.231 MB / 337.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.1252, allocations: 457.9 kB / 338.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.1257, allocations: 350.4 kB / 338.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.1261, allocations: 397.7 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.1262, allocations: 48 kB / 338.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1263, allocations: 63.98 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1265, allocations: 175.1 kB / 339.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1268, allocations: 237 kB / 339.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1278, allocations: 1.165 MB / 340.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1278, allocations: 0 / 340.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1278, allocations: 0 / 340.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1278, allocations: 0 / 340.5 MB, free: 8.508 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001808/0.1296, allocations: 1.248 MB / 341.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1297, allocations: 12.02 kB / 341.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1299, allocations: 138.3 kB / 341.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.1308, allocations: 0.6814 MB / 342.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.1309, allocations: 94.36 kB / 342.7 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.1311, allocations: 123.9 kB / 342.8 MB, free: 6.121 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.133, allocations: 1.264 MB / 344 MB, free: 4.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.133, allocations: 7.938 kB / 344 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/0.1331, allocations: 55.94 kB / 344.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.1332, allocations: 32 kB / 344.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.1345, allocations: 0.6851 MB / 344.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.1405, allocations: 6.836 MB / 351.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.1411, allocations: 269.3 kB / 351.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.1415, allocations: 189.5 kB / 352.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.1417, allocations: 85.11 kB / 352.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1417, allocations: 38.55 kB / 352.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.1417, allocations: 0 / 352.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002419/0.1441, allocations: 1.405 MB / 353.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1442, allocations: 85.09 kB / 353.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.1449, allocations: 0.649 MB / 354.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.145, allocations: 33.7 kB / 354.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.1454, allocations: 0.6798 MB / 355.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.1455, allocations: 118.4 kB / 355.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1456, allocations: 20 kB / 355.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1458, allocations: 382.8 kB / 355.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.146, allocations: 149.9 kB / 355.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.1466, allocations: 0.5468 MB / 356.3 MB, free: 7.695 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: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1472, allocations: 439.2 kB / 356.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1472, allocations: 8 kB / 356.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001198/0.1484, allocations: 0.7981 MB / 357.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.1484, allocations: 12 kB / 357.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.1485, allocations: 16 kB / 357.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.1487, allocations: 77.69 kB / 357.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.1492, allocations: 188 kB / 357.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.1517, allocations: 2.986 MB / 360.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.1521, allocations: 36.06 kB / 360.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.1522, allocations: 40 kB / 360.9 MB, free: 2.789 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004453/0.1526, allocations: 273.4 kB / 361.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1527, allocations: 75.06 kB / 361.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1529, allocations: 70.41 kB / 361.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1529, allocations: 7.828 kB / 361.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.1529, allocations: 7.953 kB / 361.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1529, allocations: 8.125 kB / 361.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.1547, allocations: 1.251 MB / 362.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1548, allocations: 0 / 362.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.1551, allocations: 75.83 kB / 362.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.1552, allocations: 49.69 kB / 362.7 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1553, allocations: 16.08 kB / 362.7 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.1573, allocations: 2.775 MB / 365.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1573, allocations: 0 / 365.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.1582, allocations: 0.6549 MB / 366.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1584, allocations: 140.2 kB / 366.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.1584, allocations: 8 kB / 366.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1587, allocations: 19.98 kB / 366.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.1587, allocations: 31.92 kB / 366.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1588, allocations: 7.984 kB / 366.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004878/0.1593, allocations: 431 kB / 366.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 0 / 366.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009384/0.1602, allocations: 152 kB / 366.9 MB, free: 12.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.1604, allocations: 119.8 kB / 367 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.1615, allocations: 0.6584 MB / 367.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1615, allocations: 0 / 367.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.162, allocations: 365.6 kB / 368 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.1625, allocations: 75.28 kB / 368.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.166, allocations: 2.363 MB / 370.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.1667, allocations: 1.034 MB / 371.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.1668, allocations: 63.41 kB / 371.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1668, allocations: 0 / 371.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of Templates: time 0.1851/0.3519, allocations: 19.34 MB / 390.9 MB, free: 47.89 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.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.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1