Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.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.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder") translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.53 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.001404/0.001404, allocations: 173.2 kB / 18.86 MB, free: 4.91 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.877/1.877, 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.0005141/0.0005141, allocations: 20 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.57 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.002381/0.1151, allocations: 1.807 MB / 331.4 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1174, allocations: 1.077 MB / 332.5 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.1175, allocations: 4 kB / 332.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1177, allocations: 23.78 kB / 332.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1178, allocations: 39.66 kB / 332.6 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1182, allocations: 107.9 kB / 332.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.1186, allocations: 343.1 kB / 333 MB, free: 364 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1188, allocations: 99.08 kB / 333.1 MB, free: 272 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.1197, allocations: 0.9123 MB / 334 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1199, allocations: 171.2 kB / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.12, allocations: 8 kB / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.1201, allocations: 8 kB / 334.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1202, allocations: 155.2 kB / 334.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1205, allocations: 279.8 kB / 334.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.1212, allocations: 0.7874 MB / 335.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1212, allocations: 0 / 335.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1212, allocations: 0 / 335.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1213, allocations: 4 kB / 335.4 MB, free: 13.94 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001122/0.1224, allocations: 0.9669 MB / 336.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1224, allocations: 8.031 kB / 336.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1226, allocations: 83.98 kB / 336.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.123, allocations: 428 kB / 336.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.1231, allocations: 20.38 kB / 336.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.1232, allocations: 24.31 kB / 336.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1238, allocations: 309.5 kB / 337.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1238, allocations: 0 / 337.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.1239, allocations: 15.98 kB / 337.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1239, allocations: 4 kB / 337.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.1243, allocations: 207.9 kB / 337.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1256, allocations: 0.8784 MB / 338.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.126, allocations: 222.4 kB / 338.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1263, allocations: 156.8 kB / 338.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1263, allocations: 4 kB / 338.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.1269, allocations: 381.9 kB / 339.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1269, allocations: 0 / 339.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001319/0.1282, allocations: 0.7413 MB / 339.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1284, allocations: 174.2 kB / 340 MB, free: 9.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.1297, allocations: 1.004 MB / 341 MB, free: 8.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1297, allocations: 29.7 kB / 341 MB, free: 8.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1298, allocations: 161.7 kB / 341.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.1299, allocations: 59.28 kB / 341.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.13, allocations: 41.7 kB / 341.3 MB, free: 7.754 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1301, allocations: 342.8 kB / 341.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1304, allocations: 127.9 kB / 341.7 MB, free: 7.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1307, allocations: 160.2 kB / 341.9 MB, free: 7.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.1313, allocations: 477.7 kB / 342.4 MB, free: 6.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.1313, allocations: 0 / 342.4 MB, free: 6.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009247/0.1322, allocations: 0.582 MB / 342.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1323, allocations: 142.7 kB / 343.1 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1323, allocations: 0 / 343.1 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1324, allocations: 4 kB / 343.1 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.1325, allocations: 11.98 kB / 343.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1325, allocations: 7.938 kB / 343.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1328, allocations: 35.94 kB / 343.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.1329, allocations: 115.9 kB / 343.2 MB, free: 5.633 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: 28 ($PRE.Adder.XOR.G2.y,$PRE.Adder.AND.G2.y,Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,b.y,a.y,Adder.XOR.G2.t_next,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.delayTime,Adder.XOR.G2.y,Adder.XOR.G2.x,$PRE.Adder.XOR.G2.x,$PRE.Adder.XOR.G1.auxiliary_n,$whenCondition2,$whenCondition1,Adder.AND.G2.t_next,Adder.AND.G2.lh,Adder.AND.G2.y_old,Adder.AND.G2.y_auxiliary,Adder.AND.G2.delayTime,Adder.AND.G2.y,Adder.AND.G2.x,$PRE.Adder.AND.G2.x,$PRE.Adder.AND.G1.auxiliary_n,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 4 * 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.0005639/0.1335, allocations: 0.5259 MB / 343.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.1336, allocations: 79.16 kB / 343.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1338, allocations: 138.3 kB / 344 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1338, allocations: 0 / 344 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1338, allocations: 0 / 344 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1338, allocations: 3.984 kB / 344 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.1346, allocations: 0.6295 MB / 344.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1346, allocations: 0 / 344.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.1346, allocations: 15.98 kB / 344.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1346, allocations: 0 / 344.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.1347, allocations: 27.98 kB / 344.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1347, allocations: 0 / 344.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1347, allocations: 0 / 344.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1357, allocations: 0.7061 MB / 345.4 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.1364, allocations: 0.4919 MB / 345.9 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.1365, allocations: 24 kB / 345.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1367, allocations: 27.97 kB / 345.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.1369, allocations: 47.95 kB / 346 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.137, allocations: 115.9 kB / 346.1 MB, free: 2.645 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009084/0.1379, allocations: 0.7329 MB / 346.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1379, allocations: 0 / 346.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1383, allocations: 95.84 kB / 346.9 MB, free: 1.82 MB / 286.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: 22 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next,Adder.XOR.G1.auxiliary_n,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next) * Number of discrete states: 22 (Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,Adder.XOR.G2.y,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.t_next,Adder.XOR.G2.delayTime,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder.XOR.G2.x,Adder.AND.G2.y,Adder.AND.G2.y_auxiliary,Adder.AND.G2.t_next,Adder.AND.G2.delayTime,Adder.AND.G2.lh,Adder.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder.AND.G2.x,b.y,a.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0002012/0.1385, allocations: 130.7 kB / 347 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009101/0.1394, allocations: 0.6615 MB / 347.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.1394, allocations: 0 / 347.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.1399, allocations: 0.5249 MB / 348.2 MB, free: 408 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.1408, allocations: 175.4 kB / 348.4 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.143, allocations: 1.642 MB / 350 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.1437, allocations: 0.96 MB / 351 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.1439, allocations: 95.23 kB / 351.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.944e-06/0.1439, allocations: 0 / 351.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Templates: time 0.007777/0.1517, allocations: 5.402 MB / 356.5 MB, free: 8.012 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdder.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.Digital.Examples.HalfAdderCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.HalfAdderCalcHelperMain.o] Error 1