Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 93.7 kB / 17.95 MB, free: 5.629 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.001625/0.001626, allocations: 180 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005683/0.0005688, allocations: 15.98 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005136/0.1518, allocations: 3.099 MB / 332.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1539, allocations: 0.7763 MB / 333.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/0.1546, allocations: 8 kB / 333.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1549, allocations: 43.61 kB / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.1556, allocations: 123 kB / 333.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.1561, allocations: 83.92 kB / 333.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009228/0.157, allocations: 497.7 kB / 334.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1574, allocations: 111.9 kB / 334.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.1577, allocations: 171.2 kB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.158, allocations: 187.1 kB / 334.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1581, allocations: 20 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.221e-05/0.1581, allocations: 20 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.1582, allocations: 75.62 kB / 334.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.1585, allocations: 216.6 kB / 335 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.1588, allocations: 347 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1589, allocations: 0 / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1589, allocations: 0 / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1589, allocations: 0 / 335.3 MB, free: 13.97 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001167/0.1601, allocations: 0.6702 MB / 336 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1601, allocations: 8.031 kB / 336 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.572e-05/0.1602, allocations: 48.38 kB / 336.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.1607, allocations: 307.2 kB / 336.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1607, allocations: 29.02 kB / 336.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1608, allocations: 28.38 kB / 336.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.1614, allocations: 371 kB / 336.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1615, allocations: 0 / 336.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.1615, allocations: 12 kB / 336.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1615, allocations: 11.98 kB / 336.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.1621, allocations: 282.4 kB / 337.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.1644, allocations: 1.434 MB / 338.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.1649, allocations: 238.1 kB / 338.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.1651, allocations: 112.8 kB / 338.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1651, allocations: 3.938 kB / 338.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1652, allocations: 34.97 kB / 338.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.1652, allocations: 0 / 338.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001686/0.1669, allocations: 0.7252 MB / 339.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.167, allocations: 55.41 kB / 339.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.1673, allocations: 308.5 kB / 340 MB, free: 9.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1673, allocations: 29.7 kB / 340 MB, free: 8.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.1675, allocations: 208.2 kB / 340.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.1676, allocations: 78.91 kB / 340.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.1677, allocations: 29.7 kB / 340.3 MB, free: 8.656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1678, allocations: 334.8 kB / 340.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.168, allocations: 91.89 kB / 340.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1683, allocations: 124.2 kB / 340.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1687, allocations: 220.1 kB / 341.1 MB, free: 7.863 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1687, allocations: 4 kB / 341.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007748/0.1695, allocations: 371.5 kB / 341.4 MB, free: 7.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1695, allocations: 7.984 kB / 341.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1695, allocations: 0 / 341.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.17, allocations: 122.5 kB / 341.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1702, allocations: 35.92 kB / 341.6 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.1742, allocations: 4.456 MB / 346.1 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1745, allocations: 31.77 kB / 346.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1745, allocations: 12.25 kB / 346.1 MB, free: 2.406 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.1747, allocations: 149.7 kB / 346.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.1748, allocations: 35.62 kB / 346.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.1749, allocations: 47.23 kB / 346.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1749, allocations: 0 / 346.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1749, allocations: 0 / 346.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1749, allocations: 0 / 346.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1754, allocations: 377.3 kB / 346.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1754, allocations: 0 / 346.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1755, allocations: 23.98 kB / 346.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.1758, allocations: 114.5 kB / 346.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1759, allocations: 7.984 kB / 346.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/0.1793, allocations: 4.441 MB / 351.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1794, allocations: 8.406 kB / 351.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.18, allocations: 426.1 kB / 351.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1802, allocations: 120.7 kB / 351.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1802, allocations: 8 kB / 351.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.1804, allocations: 23.98 kB / 351.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1805, allocations: 23.95 kB / 351.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1806, allocations: 16 kB / 351.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1808, allocations: 215.1 kB / 352.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1808, allocations: 0 / 352.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006614/0.1815, allocations: 111.8 kB / 352.2 MB, free: 11.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.1816, allocations: 103.2 kB / 352.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.1826, allocations: 0.5822 MB / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1826, allocations: 128 / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.1832, allocations: 496 kB / 353.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1837, allocations: 64.88 kB / 353.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1851, allocations: 0.8166 MB / 354.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1856, allocations: 0.7912 MB / 355.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.1857, allocations: 23.42 kB / 355.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1857, allocations: 0 / 355.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of Templates: time 0.01172/0.1974, allocations: 8.24 MB / 363.3 MB, free: 0.5273 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.o] Error 1