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.0009294/0.0009294, allocations: 91.28 kB / 17.58 MB, free: 5.797 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.0009528/0.000953, allocations: 189 kB / 18.48 MB, free: 5.25 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.689/1.689, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004973/0.0004976, allocations: 12.94 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09615, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.002753/0.09894, allocations: 2.4 MB / 331.4 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1002, allocations: 0.7335 MB / 332.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1003, allocations: 4 kB / 332.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1005, allocations: 39.69 kB / 332.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1006, allocations: 79.38 kB / 332.2 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.101, allocations: 71.91 kB / 332.3 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1013, allocations: 350.4 kB / 332.6 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1015, allocations: 86.33 kB / 332.7 MB, free: 300 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1016, allocations: 119.6 kB / 332.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1018, allocations: 131.5 kB / 333 MB, free: 48 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1018, allocations: 16 kB / 333 MB, free: 32 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.1019, allocations: 16 kB / 333 MB, free: 16 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.1019, allocations: 55.75 kB / 333.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.102, allocations: 81.58 kB / 333.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1023, allocations: 259.5 kB / 333.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1023, allocations: 3.938 kB / 333.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1023, allocations: 0 / 333.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.1023, allocations: 0 / 333.4 MB, free: 15.62 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.0008452/0.1031, allocations: 0.5549 MB / 334 MB, free: 15.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1032, allocations: 12.03 kB / 334 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.1033, allocations: 43.61 kB / 334 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1036, allocations: 259.1 kB / 334.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.1036, allocations: 80.02 kB / 334.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1037, allocations: 28 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.1042, allocations: 297.7 kB / 334.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1042, allocations: 0 / 334.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.1042, allocations: 16 kB / 334.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1042, allocations: 8 kB / 334.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1046, allocations: 186.2 kB / 334.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1061, allocations: 1.143 MB / 336 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1064, allocations: 154.6 kB / 336.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.1065, allocations: 76.83 kB / 336.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1066, allocations: 7.938 kB / 336.2 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.1069, allocations: 159.8 kB / 336.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.1069, allocations: 4 kB / 336.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009461/0.1079, allocations: 393.1 kB / 336.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.1079, allocations: 110.8 kB / 336.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1082, allocations: 224.9 kB / 337.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1082, allocations: 33.7 kB / 337.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1083, allocations: 176.2 kB / 337.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.1084, allocations: 71.08 kB / 337.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.1084, allocations: 8 kB / 337.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1086, allocations: 334.8 kB / 337.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1087, allocations: 67.97 kB / 337.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1089, allocations: 136.6 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.109, allocations: 81.12 kB / 338 MB, free: 10.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.109, allocations: 4 kB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004013/0.1094, allocations: 267.9 kB / 338.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1094, allocations: 14.2 kB / 338.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1095, allocations: 4 kB / 338.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.1097, allocations: 52.81 kB / 338.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1099, allocations: 59.84 kB / 338.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1111, allocations: 1.408 MB / 339.8 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1114, allocations: 47.83 kB / 339.8 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1114, allocations: 8 kB / 339.9 MB, free: 8.672 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,$whenCondition1,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.switch2.off,switch2.off,$PRE.switch2.quenched,switch2.quenched,$PRE.switch2.tSwitch,switch2.tSwitch) * 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1116, allocations: 153.7 kB / 340 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1116, allocations: 23.75 kB / 340 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1116, allocations: 26.17 kB / 340.1 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1117, allocations: 11.98 kB / 340.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1117, allocations: 0 / 340.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1117, allocations: 0 / 340.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.112, allocations: 317.3 kB / 340.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.112, allocations: 0 / 340.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1122, allocations: 35.97 kB / 340.4 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.1123, allocations: 60.75 kB / 340.5 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.1124, allocations: 8 kB / 340.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009898/0.1134, allocations: 1.312 MB / 341.8 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1134, allocations: 4.031 kB / 341.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.114, allocations: 334.2 kB / 342.1 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.1141, allocations: 116.8 kB / 342.2 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1141, allocations: 8 kB / 342.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1143, allocations: 15.98 kB / 342.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.1144, allocations: 31.94 kB / 342.3 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1144, allocations: 8 kB / 342.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1145, allocations: 168.5 kB / 342.5 MB, free: 5.828 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1145, allocations: 0 / 342.5 MB, free: 5.828 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.1149, allocations: 79.84 kB / 342.5 MB, free: 5.75 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.115, allocations: 103.2 kB / 342.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.1155, allocations: 286.5 kB / 342.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1155, allocations: 448 / 342.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1158, allocations: 194.6 kB / 343.1 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1161, allocations: 36.31 kB / 343.1 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1176, allocations: 0.8472 MB / 344 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1179, allocations: 0.756 MB / 344.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.118, allocations: 27.44 kB / 344.8 MB, free: 3.422 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.118, allocations: 3.938 kB / 344.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of Templates: time 0.006409/0.1244, allocations: 4.129 MB / 348.9 MB, free: 15.29 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++ 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.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