Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007606, allocations: 96.34 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.0007861/0.0007861, allocations: 185.6 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.539/1.539, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004409/0.0004409, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.003754/0.1131, allocations: 3.352 MB / 332.3 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1147, allocations: 0.9869 MB / 333.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1149, allocations: 11.94 kB / 333.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1151, allocations: 59.52 kB / 333.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1153, allocations: 138.9 kB / 333.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1157, allocations: 135.7 kB / 333.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.1163, allocations: 0.6575 MB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.1165, allocations: 139.9 kB / 334.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.1168, allocations: 235.1 kB / 334.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.1172, allocations: 286.8 kB / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.1172, allocations: 32 kB / 335 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.1173, allocations: 32 kB / 335 MB, free: 14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1174, allocations: 95.58 kB / 335.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1176, allocations: 125.4 kB / 335.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.1181, allocations: 0.5923 MB / 335.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1181, allocations: 8 kB / 335.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1181, allocations: 0 / 335.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1181, allocations: 0 / 335.8 MB, free: 13.17 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002157/0.1203, allocations: 0.9485 MB / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1203, allocations: 12.03 kB / 336.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1204, allocations: 59.34 kB / 336.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.1209, allocations: 385 kB / 337.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.121, allocations: 29 kB / 337.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.121, allocations: 32 kB / 337.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1223, allocations: 0.602 MB / 337.9 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1223, allocations: 3.938 kB / 337.9 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.1224, allocations: 16 kB / 337.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1224, allocations: 12 kB / 337.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.124, allocations: 0.6363 MB / 338.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.1272, allocations: 2.059 MB / 340.6 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.1307, allocations: 0.9288 MB / 341.6 MB, free: 7.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008966/0.1316, allocations: 409.3 kB / 342 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.1317, allocations: 7.75 kB / 342 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.1327, allocations: 435.7 kB / 342.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/0.1327, allocations: 0 / 342.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.008573/0.1413, allocations: 2.048 MB / 344.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1414, allocations: 85.11 kB / 344.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.1419, allocations: 381.7 kB / 344.9 MB, free: 3.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.1419, allocations: 37.7 kB / 344.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1421, allocations: 216.6 kB / 345.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1423, allocations: 130.1 kB / 345.3 MB, free: 3.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1423, allocations: 12 kB / 345.3 MB, free: 3.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1425, allocations: 346.8 kB / 345.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.1432, allocations: 308.6 kB / 345.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.144, allocations: 346.1 kB / 346.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.1448, allocations: 319.5 kB / 346.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1448, allocations: 0 / 346.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004058/0.1489, allocations: 1.182 MB / 347.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.1489, allocations: 37.69 kB / 347.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1489, allocations: 4 kB / 347.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.1501, allocations: 424.5 kB / 348.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.1505, allocations: 99.86 kB / 348.3 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.1579, allocations: 3.484 MB / 351.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.1586, allocations: 107.7 kB / 351.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.1586, allocations: 12 kB / 351.9 MB, free: 12.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.1589, allocations: 173.8 kB / 352.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.159, allocations: 47.39 kB / 352.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1591, allocations: 52.38 kB / 352.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1591, allocations: 4 kB / 352.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1592, allocations: 8 kB / 352.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1592, allocations: 7.922 kB / 352.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.1599, allocations: 0.5795 MB / 352.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1599, allocations: 0 / 352.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.1603, allocations: 91.88 kB / 352.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.1613, allocations: 418.7 kB / 353.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.1614, allocations: 12 kB / 353.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/0.1687, allocations: 3.491 MB / 356.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1687, allocations: 0 / 356.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.1728, allocations: 1.404 MB / 358.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.1731, allocations: 172.5 kB / 358.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.1732, allocations: 8 kB / 358.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.1737, allocations: 87.92 kB / 358.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.1738, allocations: 47.92 kB / 358.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.1739, allocations: 12 kB / 358.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.1742, allocations: 271.2 kB / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006414/0.1749, allocations: 171.7 kB / 358.9 MB, free: 5.348 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.1751, allocations: 111.2 kB / 359 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.1773, allocations: 0.9429 MB / 360 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1774, allocations: 3.938 kB / 360 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.1787, allocations: 0.5763 MB / 360.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1792, allocations: 77.47 kB / 360.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.182, allocations: 1.409 MB / 362 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1824, allocations: 0.8313 MB / 362.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1825, allocations: 27.44 kB / 362.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1825, allocations: 0 / 362.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01268/0.1952, allocations: 9.283 MB / 372.2 MB, free: 7.977 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuitCalcHelperMain.o] Error 1