Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009474, allocations: 100.4 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 175 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2259/0.2259, allocations: 16.72 MB / 308.4 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 8 kB / 373.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4088, allocations: 54.47 MB / 427.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002026/0.4109, allocations: 1.521 MB / 429.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.4143, allocations: 1.854 MB / 431.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.4145, allocations: 6.188 kB / 431.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.4148, allocations: 85.27 kB / 431.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.4152, allocations: 94.72 kB / 431.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4167, allocations: 0.6237 MB / 432.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.4178, allocations: 1.069 MB / 433.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.4181, allocations: 144.1 kB / 433.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.4185, allocations: 428.2 kB / 433.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.4189, allocations: 288.3 kB / 434 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.419, allocations: 34.06 kB / 434 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.4196, allocations: 420.2 kB / 434.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.4198, allocations: 115.2 kB / 434.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.42, allocations: 167.3 kB / 434.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.4207, allocations: 0.815 MB / 435.5 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4207, allocations: 6.562 kB / 435.5 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4207, allocations: 0 / 435.5 MB, free: 36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4208, allocations: 0 / 435.5 MB, free: 36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001261/0.422, allocations: 1.127 MB / 436.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4221, allocations: 12.97 kB / 436.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.4224, allocations: 91.28 kB / 436.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.4229, allocations: 430.3 kB / 437.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.423, allocations: 81.78 kB / 437.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4232, allocations: 80.08 kB / 437.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.425, allocations: 1.34 MB / 438.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.425, allocations: 6.906 kB / 438.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.463e-05/0.4251, allocations: 40.14 kB / 438.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-05/0.4252, allocations: 54.55 kB / 438.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.4266, allocations: 0.929 MB / 439.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.4298, allocations: 3.333 MB / 443 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.4313, allocations: 1.595 MB / 444.6 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4326, allocations: 1.479 MB / 446.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.4327, allocations: 83.92 kB / 446.2 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.4339, allocations: 0.932 MB / 447.1 MB, free: 28.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.294e-06/0.4339, allocations: 4 kB / 447.1 MB, free: 28.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003474/0.4374, allocations: 2.676 MB / 449.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.4377, allocations: 0.5292 MB / 450.3 MB, free: 27.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.4381, allocations: 406.6 kB / 450.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.4382, allocations: 70.62 kB / 450.8 MB, free: 26.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4384, allocations: 252.7 kB / 451 MB, free: 26.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.4385, allocations: 201 kB / 451.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.4386, allocations: 26.3 kB / 451.3 MB, free: 26.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4387, allocations: 372 kB / 451.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.4394, allocations: 439.6 kB / 452.1 MB, free: 26.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/0.4401, allocations: 0.8062 MB / 452.9 MB, free: 25.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.4409, allocations: 0.7503 MB / 453.6 MB, free: 24.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4409, allocations: 2.531 kB / 453.6 MB, free: 24.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002141/0.443, allocations: 1.819 MB / 455.4 MB, free: 24.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.4432, allocations: 336.6 kB / 455.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4432, allocations: 13.41 kB / 455.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.4433, allocations: 22.12 kB / 455.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.4436, allocations: 128 kB / 455.9 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.4437, allocations: 30.34 kB / 456 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.4441, allocations: 126.4 kB / 456.1 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.4442, allocations: 61 kB / 456.1 MB, free: 23.63 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.P1.tokeninout,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008175/0.445, allocations: 0.7491 MB / 456.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4452, allocations: 79.19 kB / 457 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.4479, allocations: 2.059 MB / 459 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4479, allocations: 6.344 kB / 459 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4479, allocations: 0 / 459 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4479, allocations: 3.469 kB / 459 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.4521, allocations: 3.076 MB / 462.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4521, allocations: 3.938 kB / 462.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.4522, allocations: 29.83 kB / 462.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4523, allocations: 2.625 kB / 462.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.4524, allocations: 43.84 kB / 462.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.4524, allocations: 2.797 kB / 462.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4524, allocations: 0 / 462.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.4557, allocations: 2.414 MB / 464.6 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.4559, allocations: 134.3 kB / 464.7 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4561, allocations: 72.47 kB / 464.8 MB, free: 19.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.4565, allocations: 75.27 kB / 464.9 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005906/0.4571, allocations: 337.8 kB / 465.2 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.4572, allocations: 55.75 kB / 465.3 MB, free: 19.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.4575, allocations: 244 kB / 465.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4575, allocations: 0 / 465.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001553/0.4591, allocations: 336.5 kB / 465.8 MB, free: 19.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008104/0.4599, allocations: 386.1 kB / 466.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.4628, allocations: 2.11 MB / 468.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4628, allocations: 1.875 kB / 468.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.4659, allocations: 3.162 MB / 471.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.4667, allocations: 112.6 kB / 471.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.4702, allocations: 1.783 MB / 473.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.4708, allocations: 0.908 MB / 474.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.4709, allocations: 51.02 kB / 474.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.471, allocations: 3.938 kB / 474.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Templates: time 0.02756/0.4985, allocations: 12.02 MB / 486.4 MB, free: 8.773 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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 OMCppPNlib_PNlib.Examples.DisTest.PDtoTDfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDfunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.DisTest.PDtoTDfunctionCalcHelperMain.o] Error 1