Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008631/0.0008632, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009296/0.0009298, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2655/0.2655, allocations: 16.72 MB / 308.4 MB, free: 15.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.00034, allocations: 12 kB / 373.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4059, allocations: 54.47 MB / 427.9 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002096/0.408, allocations: 1.515 MB / 429.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.4116, allocations: 1.861 MB / 431.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.4119, allocations: 6.781 kB / 431.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.4122, allocations: 83.08 kB / 431.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.4126, allocations: 106.6 kB / 431.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4147, allocations: 0.6314 MB / 432.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.4161, allocations: 1.137 MB / 433.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.4165, allocations: 215.3 kB / 433.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.417, allocations: 446.9 kB / 433.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.4175, allocations: 407.2 kB / 434.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4177, allocations: 50.47 kB / 434.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4187, allocations: 0.6515 MB / 435 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.4189, allocations: 160.3 kB / 435.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.4192, allocations: 240.1 kB / 435.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.4203, allocations: 1.255 MB / 436.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4203, allocations: 0 / 436.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4204, allocations: 0 / 436.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4204, allocations: 0 / 436.6 MB, free: 35.96 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001542/0.4219, allocations: 1.345 MB / 438 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.422, allocations: 10.56 kB / 438 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.4223, allocations: 128.7 kB / 438.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.423, allocations: 0.5354 MB / 438.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.4232, allocations: 137.4 kB / 438.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.4234, allocations: 123.1 kB / 438.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.4263, allocations: 2.056 MB / 441 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.4264, allocations: 10.59 kB / 441 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4265, allocations: 61.45 kB / 441 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.4267, allocations: 89.31 kB / 441.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.4288, allocations: 1.463 MB / 442.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.4335, allocations: 4.252 MB / 446.8 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.436, allocations: 2.447 MB / 449.3 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/0.4388, allocations: 2.343 MB / 451.6 MB, free: 27.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.439, allocations: 83.39 kB / 451.7 MB, free: 27.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00234/0.4413, allocations: 1.338 MB / 453 MB, free: 26.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.447e-06/0.4413, allocations: 0 / 453 MB, free: 26.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.007348/0.4487, allocations: 4.059 MB / 457.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004778/0.4492, allocations: 0.6517 MB / 457.7 MB, free: 24.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.4502, allocations: 0.5148 MB / 458.3 MB, free: 24.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.4504, allocations: 77.73 kB / 458.3 MB, free: 24.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.4508, allocations: 340.7 kB / 458.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.4512, allocations: 241 kB / 458.9 MB, free: 23.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.4513, allocations: 29.25 kB / 458.9 MB, free: 23.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4515, allocations: 388.2 kB / 459.3 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.4528, allocations: 0.5465 MB / 459.9 MB, free: 23.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.4547, allocations: 1.023 MB / 460.9 MB, free: 22.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.4564, allocations: 0.9012 MB / 461.8 MB, free: 21.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.265e-05/0.4565, allocations: 8.125 kB / 461.8 MB, free: 21.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005191/0.4617, allocations: 2.21 MB / 464 MB, free: 20.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003336/0.462, allocations: 347.1 kB / 464.3 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/0.4621, allocations: 13.62 kB / 464.4 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.593e-05/0.4622, allocations: 26.31 kB / 464.4 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.463, allocations: 161.6 kB / 464.5 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.301e-05/0.4631, allocations: 31.84 kB / 464.6 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4642, allocations: 167.8 kB / 464.7 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.4644, allocations: 69.56 kB / 464.8 MB, free: 20.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$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.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$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,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[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.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001966/0.4664, allocations: 0.8901 MB / 465.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.4669, allocations: 100.4 kB / 465.8 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/0.4746, allocations: 3.413 MB / 469.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/0.4747, allocations: 6.422 kB / 469.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4747, allocations: 7.891 kB / 469.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4747, allocations: 2.438 kB / 469.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.4865, allocations: 4.822 MB / 474 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4866, allocations: 0 / 474 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.4868, allocations: 44.72 kB / 474.1 MB, free: 16.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.4869, allocations: 2.125 kB / 474.1 MB, free: 16.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.4871, allocations: 61.83 kB / 474.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.4871, allocations: 2.312 kB / 474.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4871, allocations: 0 / 474.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008306/0.4954, allocations: 3.528 MB / 477.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4957, allocations: 143.5 kB / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.4961, allocations: 90.95 kB / 477.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.4968, allocations: 108.3 kB / 478 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008146/0.4976, allocations: 390.4 kB / 478.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.4979, allocations: 65.56 kB / 478.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000507/0.4984, allocations: 296.7 kB / 478.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4984, allocations: 0 / 478.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002447/0.5008, allocations: 487.8 kB / 479.2 MB, free: 13.94 MB / 350.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: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.001613/0.5025, allocations: 487.1 kB / 479.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005571/0.5081, allocations: 2.694 MB / 482.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.5081, allocations: 1.031 kB / 482.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.5121, allocations: 4.518 MB / 486.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.5131, allocations: 128.7 kB / 487 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.518, allocations: 2.473 MB / 489.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.5187, allocations: 1.009 MB / 490.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.5189, allocations: 63.42 kB / 490.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5189, allocations: 0 / 490.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Templates: time 0.03062/0.5495, allocations: 16.56 MB / 0.4953 GB, free: 3.922 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.o] Error 1