Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001687/0.001687, allocations: 175.9 kB / 18.86 MB, free: 4.906 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.96/1.96, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004879/0.0004877, allocations: 14.66 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.004395/0.1345, allocations: 3.66 MB / 333.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1366, allocations: 1.107 MB / 334.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1369, allocations: 11.94 kB / 334.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1371, allocations: 71.45 kB / 334.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1374, allocations: 142.8 kB / 334.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.1379, allocations: 243.7 kB / 334.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008857/0.1388, allocations: 0.9016 MB / 335.7 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.1392, allocations: 227.5 kB / 336 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.1396, allocations: 302.9 kB / 336.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.14, allocations: 382.4 kB / 336.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.1401, allocations: 48 kB / 336.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.1402, allocations: 44 kB / 336.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1404, allocations: 143.4 kB / 336.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.1407, allocations: 367.9 kB / 337.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007725/0.1415, allocations: 0.865 MB / 338.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1415, allocations: 4 kB / 338.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.1415, allocations: 0 / 338.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1415, allocations: 3.938 kB / 338.1 MB, free: 11.21 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002746/0.1443, allocations: 1.154 MB / 339.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1443, allocations: 12.03 kB / 339.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1445, allocations: 72.09 kB / 339.3 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.1451, allocations: 433.9 kB / 339.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.1452, allocations: 45.69 kB / 339.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1453, allocations: 56.38 kB / 339.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.1477, allocations: 1.011 MB / 340.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1477, allocations: 0 / 340.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.1478, allocations: 27.94 kB / 340.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1478, allocations: 12 kB / 340.9 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.1509, allocations: 1.136 MB / 342 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.1557, allocations: 3.134 MB / 345.2 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.1582, allocations: 1.029 MB / 346.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.1596, allocations: 497.9 kB / 346.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.1597, allocations: 16.48 kB / 346.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.1611, allocations: 0.5165 MB / 347.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 4.639e-06/0.1612, allocations: 0 / 347.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=50): time 0.00366/0.1648, allocations: 1.26 MB / 348.5 MB, free: 468 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/0.165, allocations: 273.4 kB / 348.7 MB, free: 132 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.1659, allocations: 0.4979 MB / 349.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.166, allocations: 41.64 kB / 349.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.1663, allocations: 339.5 kB / 349.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.1665, allocations: 173.6 kB / 349.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1666, allocations: 61.69 kB / 349.8 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.1669, allocations: 366.8 kB / 350.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.1682, allocations: 461.7 kB / 350.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.1697, allocations: 0.7119 MB / 351.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.1723, allocations: 1.083 MB / 352.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.1724, allocations: 4 kB / 352.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003206/0.1756, allocations: 1.247 MB / 353.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/0.1757, allocations: 63.41 kB / 353.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.1757, allocations: 8 kB / 353.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.1757, allocations: 8 kB / 353.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.1768, allocations: 259.9 kB / 354 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.1769, allocations: 12 kB / 354 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.178, allocations: 215.1 kB / 354.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.1781, allocations: 28 kB / 354.3 MB, free: 10.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004431/0.1786, allocations: 217.6 kB / 354.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1787, allocations: 55.34 kB / 354.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.1789, allocations: 61.59 kB / 354.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1789, allocations: 11.94 kB / 354.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.1789, allocations: 0 / 354.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1789, allocations: 3.984 kB / 354.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.1827, allocations: 1.778 MB / 356.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1827, allocations: 0 / 356.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008346/0.1836, allocations: 175.8 kB / 356.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.1836, allocations: 3.984 kB / 356.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.1837, allocations: 12 kB / 356.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1837, allocations: 4 kB / 356.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1837, allocations: 80 / 356.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.1875, allocations: 1.47 MB / 358.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.1878, allocations: 140.2 kB / 358.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1879, allocations: 15.98 kB / 358.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.1887, allocations: 143.9 kB / 358.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.1889, allocations: 48.38 kB / 358.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.1889, allocations: 19.98 kB / 358.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005586/0.1895, allocations: 350.9 kB / 358.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1895, allocations: 0 / 358.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007094/0.1902, allocations: 167.7 kB / 358.9 MB, free: 5.566 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.1904, allocations: 123.2 kB / 359 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.1933, allocations: 1.111 MB / 360.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1933, allocations: 4.062 kB / 360.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.1945, allocations: 474.2 kB / 360.6 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.1951, allocations: 89.81 kB / 360.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.198, allocations: 1.505 MB / 362.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.1986, allocations: 0.8591 MB / 363.1 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.1989, allocations: 59.36 kB / 363.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1989, allocations: 0 / 363.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of Templates: time 0.01378/0.2127, allocations: 8.556 MB / 371.7 MB, free: 8.703 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.NandGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o] Error 1