Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009974/0.0009974, allocations: 95.39 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.0009891/0.0009892, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.597/1.597, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002652, allocations: 10.16 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006489/0.1248, allocations: 5.14 MB / 357 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.1295, allocations: 1.582 MB / 358.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1307, allocations: 27.88 kB / 358.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.1312, allocations: 178.5 kB / 358.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006506/0.1319, allocations: 170.5 kB / 359 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1331, allocations: 331.6 kB / 359.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1345, allocations: 1.219 MB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.1353, allocations: 461.9 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.1358, allocations: 358.4 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.1362, allocations: 397.7 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.1363, allocations: 48 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1365, allocations: 56 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1367, allocations: 171.2 kB / 362 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.137, allocations: 249 kB / 362.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.1382, allocations: 1.157 MB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.1382, allocations: 3.938 kB / 363.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1383, allocations: 3.938 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1383, allocations: 0 / 363.4 MB, free: 8.449 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002116/0.1404, allocations: 1.244 MB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.1405, allocations: 8.031 kB / 364.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.1407, allocations: 150.3 kB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1418, allocations: 0.6969 MB / 365.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.1419, allocations: 86.41 kB / 365.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.142, allocations: 116 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.1442, allocations: 1.26 MB / 366.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.1443, allocations: 3.938 kB / 366.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1444, allocations: 56 kB / 367 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.1444, allocations: 39.94 kB / 367 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1458, allocations: 0.689 MB / 367.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2971/0.4428, allocations: 6.814 MB / 374.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.4438, allocations: 273.7 kB / 374.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.4443, allocations: 183.5 kB / 375 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.4444, allocations: 84.58 kB / 375.1 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4445, allocations: 40.03 kB / 375.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 3.496e-06/0.4445, allocations: 0 / 375.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002958/0.4474, allocations: 1.407 MB / 376.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4475, allocations: 82.02 kB / 376.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4487, allocations: 0.6584 MB / 377.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.4487, allocations: 30.05 kB / 377.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.4492, allocations: 0.6837 MB / 377.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.4493, allocations: 114.4 kB / 378.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.4494, allocations: 15.84 kB / 378.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4495, allocations: 393.4 kB / 378.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.4499, allocations: 142.6 kB / 378.6 MB, free: 17.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.4504, allocations: 0.5504 MB / 379.2 MB, free: 16.58 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.0006638/0.4511, allocations: 444.2 kB / 379.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4511, allocations: 6.094 kB / 379.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001442/0.4526, allocations: 0.7977 MB / 380.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.4526, allocations: 15.61 kB / 380.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.4526, allocations: 13.34 kB / 380.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.4529, allocations: 80.73 kB / 380.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.4535, allocations: 187.5 kB / 380.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.4556, allocations: 2.972 MB / 383.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.4562, allocations: 36.84 kB / 383.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.4563, allocations: 44.47 kB / 383.7 MB, free: 12.94 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.0005117/0.4568, allocations: 276.8 kB / 384 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.457, allocations: 73.34 kB / 384.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.4571, allocations: 70.88 kB / 384.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4571, allocations: 7.453 kB / 384.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.4571, allocations: 2.188 kB / 384.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4571, allocations: 1.453 kB / 384.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.4593, allocations: 1.264 MB / 385.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4593, allocations: 2.062 kB / 385.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.4597, allocations: 67.59 kB / 385.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.4599, allocations: 56.92 kB / 385.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.4599, allocations: 11.72 kB / 385.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.4617, allocations: 2.779 MB / 388.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4617, allocations: 1.562 kB / 388.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4627, allocations: 0.6472 MB / 389 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.4629, allocations: 139.5 kB / 389.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.4629, allocations: 8.062 kB / 389.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.4632, allocations: 19.5 kB / 389.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.4633, allocations: 27.48 kB / 389.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4633, allocations: 11.84 kB / 389.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007233/0.4641, allocations: 430.3 kB / 389.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.4641, allocations: 0.9375 kB / 389.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4653, allocations: 159.2 kB / 389.8 MB, free: 8.309 MB / 302.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.0001681/0.4655, allocations: 114.7 kB / 389.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4667, allocations: 0.6559 MB / 390.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4668, allocations: 0 / 390.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.4673, allocations: 369 kB / 390.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.4679, allocations: 82.38 kB / 391 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.472, allocations: 2.349 MB / 393.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.4728, allocations: 1.036 MB / 394.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.473, allocations: 61.56 kB / 394.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.473, allocations: 0 / 394.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of Templates: time 0.03192/0.505, allocations: 19.35 MB / 413.8 MB, free: 7.121 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1