Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.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.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc") translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 92.91 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.00133/0.00133, allocations: 180.9 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.015/2.015, 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.0005473/0.0005473, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.003286/0.1279, allocations: 2.5 MB / 332.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1299, allocations: 0.7527 MB / 332.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1301, allocations: 7.938 kB / 332.9 MB, free: 480 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1303, allocations: 31.75 kB / 332.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1306, allocations: 83.31 kB / 333 MB, free: 364 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.1311, allocations: 95.89 kB / 333.1 MB, free: 268 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.1317, allocations: 354.4 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.132, allocations: 91.94 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1322, allocations: 111.6 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1324, allocations: 139.3 kB / 333.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1325, allocations: 16 kB / 333.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.1325, allocations: 23.94 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1326, allocations: 55.75 kB / 333.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.1328, allocations: 177 kB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1331, allocations: 251.5 kB / 334.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1331, allocations: 0 / 334.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.1332, allocations: 4 kB / 334.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1332, allocations: 0 / 334.3 MB, free: 15.05 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001099/0.1343, allocations: 0.5589 MB / 334.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1343, allocations: 8.031 kB / 334.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.1344, allocations: 36.56 kB / 334.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1348, allocations: 268.3 kB / 335.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/0.1349, allocations: 76.62 kB / 335.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.135, allocations: 32.31 kB / 335.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.1355, allocations: 297.9 kB / 335.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1356, allocations: 0 / 335.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.1356, allocations: 19.98 kB / 335.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1356, allocations: 8 kB / 335.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.136, allocations: 190.1 kB / 335.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1379, allocations: 1.139 MB / 336.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.1383, allocations: 162.5 kB / 337 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1385, allocations: 80.83 kB / 337.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1385, allocations: 0 / 337.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.1389, allocations: 161.8 kB / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.1389, allocations: 0 / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001175/0.1401, allocations: 391.2 kB / 337.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.1402, allocations: 110.8 kB / 337.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1405, allocations: 225 kB / 338 MB, free: 11.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1405, allocations: 29.7 kB / 338 MB, free: 11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1407, allocations: 188.1 kB / 338.2 MB, free: 10.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.1408, allocations: 67.09 kB / 338.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1409, allocations: 29.7 kB / 338.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1411, allocations: 338.8 kB / 338.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1412, allocations: 63.92 kB / 338.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1414, allocations: 148.6 kB / 338.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1417, allocations: 188.2 kB / 339 MB, free: 9.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1417, allocations: 0 / 339 MB, free: 9.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004234/0.1421, allocations: 271.9 kB / 339.3 MB, free: 9.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.1422, allocations: 14.66 kB / 339.3 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1422, allocations: 0 / 339.3 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.1425, allocations: 56.75 kB / 339.4 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1427, allocations: 51.92 kB / 339.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1441, allocations: 1.416 MB / 340.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1443, allocations: 51.59 kB / 340.9 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1444, allocations: 8 kB / 340.9 MB, free: 7.926 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,switch2.tSwitch,$PRE.switch2.tSwitch,switch2.quenched,$PRE.switch2.quenched,switch2.off,$PRE.switch2.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.1446, allocations: 149.8 kB / 341 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1446, allocations: 27.66 kB / 341.1 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.1447, allocations: 26.28 kB / 341.1 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1447, allocations: 4 kB / 341.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1447, allocations: 0 / 341.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1447, allocations: 3.984 kB / 341.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1451, allocations: 313.5 kB / 341.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1451, allocations: 0 / 341.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1453, allocations: 39.92 kB / 341.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.1455, allocations: 52.81 kB / 341.5 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1455, allocations: 4 kB / 341.5 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1466, allocations: 1.323 MB / 342.8 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1467, allocations: 0 / 342.8 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.1473, allocations: 342.2 kB / 343.1 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1474, allocations: 112.8 kB / 343.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1475, allocations: 15.98 kB / 343.3 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1476, allocations: 15.98 kB / 343.3 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.1477, allocations: 27.95 kB / 343.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1478, allocations: 16 kB / 343.3 MB, free: 5.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1479, allocations: 164.5 kB / 343.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1479, allocations: 0 / 343.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.1483, allocations: 79.84 kB / 343.6 MB, free: 5 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,booleanPulse.pulseStart,switch2.off,switch2.quenched,switch2.tSwitch) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.1485, allocations: 111.2 kB / 343.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.1491, allocations: 282.8 kB / 344 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1491, allocations: 4.125 kB / 344 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.1494, allocations: 198.5 kB / 344.2 MB, free: 4.383 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1497, allocations: 36.36 kB / 344.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1515, allocations: 0.861 MB / 345.1 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1519, allocations: 0.7599 MB / 345.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.152, allocations: 19.44 kB / 345.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.152, allocations: 0 / 345.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of Templates: time 0.00636/0.1583, allocations: 4.138 MB / 350 MB, free: 14.51 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.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.SwitchWithArcCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArcCalcHelperMain.o] Error 1