Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 100.1 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.001629/0.001629, allocations: 174.8 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.562/1.562, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2906/0.2906, allocations: 16.73 MB / 308.4 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8 kB / 373.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4112, allocations: 54.47 MB / 427.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002593/0.4139, allocations: 2.294 MB / 430.2 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004369/0.4182, allocations: 2.219 MB / 432.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.4189, allocations: 13.84 kB / 432.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.4194, allocations: 156.2 kB / 432.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.42, allocations: 163.7 kB / 432.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.422, allocations: 0.7133 MB / 433.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.4237, allocations: 2.035 MB / 435.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.4242, allocations: 321 kB / 435.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.4251, allocations: 0.7645 MB / 436.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.4258, allocations: 0.6344 MB / 437.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4259, allocations: 77.19 kB / 437.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.4268, allocations: 420.9 kB / 437.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.427, allocations: 301.6 kB / 438 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.4274, allocations: 344.8 kB / 438.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.4288, allocations: 1.603 MB / 439.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4288, allocations: 4 kB / 439.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4288, allocations: 0 / 439.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.4288, allocations: 0 / 439.9 MB, free: 34.43 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00221/0.431, allocations: 2.031 MB / 442 MB, free: 32.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4311, allocations: 8.344 kB / 442 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.4325, allocations: 356.2 kB / 442.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4336, allocations: 0.7556 MB / 443.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.4338, allocations: 390.8 kB / 443.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.4341, allocations: 181.8 kB / 443.6 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/0.4385, allocations: 3.108 MB / 446.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.4386, allocations: 0 / 446.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.4388, allocations: 90.52 kB / 446.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.439, allocations: 158 kB / 447 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.4424, allocations: 2.279 MB / 449.3 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007041/0.4495, allocations: 5.774 MB / 455 MB, free: 26.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.4525, allocations: 2.99 MB / 458 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.4555, allocations: 2.801 MB / 460.8 MB, free: 23.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.4557, allocations: 115 kB / 460.9 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002823/0.4585, allocations: 1.761 MB / 462.7 MB, free: 22.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.226e-06/0.4586, allocations: 0 / 462.7 MB, free: 22.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.009755/0.4683, allocations: 5.62 MB / 468.3 MB, free: 19.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006247/0.469, allocations: 1.077 MB / 469.4 MB, free: 18.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4702, allocations: 0.6813 MB / 470.1 MB, free: 18.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.4704, allocations: 102.1 kB / 470.2 MB, free: 18.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.4709, allocations: 0.5115 MB / 470.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.4713, allocations: 394.7 kB / 471.1 MB, free: 17.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4714, allocations: 48.33 kB / 471.1 MB, free: 17.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4716, allocations: 425.6 kB / 471.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.4732, allocations: 0.908 MB / 472.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.4752, allocations: 1.636 MB / 474.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.4772, allocations: 1.651 MB / 475.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.4772, allocations: 5.812 kB / 475.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005619/0.4829, allocations: 3.556 MB / 479.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.4833, allocations: 0.6908 MB / 480 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002821/0.4861, allocations: 1.846 MB / 481.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.4874, allocations: 334.7 kB / 482.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.4883, allocations: 247 kB / 482.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000723/0.489, allocations: 0.7331 MB / 483.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4906, allocations: 271.9 kB / 483.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.4908, allocations: 120.8 kB / 483.5 MB, free: 10.71 MB / 350.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$whenCondition6,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$whenCondition5,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition4,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.tIntOut[2],T1.activation.maxTokensInt[2],T1.activation.disPlaceOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002483/0.4933, allocations: 1.468 MB / 485 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.4938, allocations: 157.9 kB / 485.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/0.4994, allocations: 4.453 MB / 489.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4994, allocations: 12 kB / 489.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4994, allocations: 0 / 489.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4994, allocations: 3.984 kB / 489.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008048/0.5075, allocations: 6.484 MB / 496.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00614/0.5137, allocations: 4.288 MB / 0.4886 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.514, allocations: 55.91 kB / 0.4887 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/0.5146, allocations: 236.6 kB / 0.4889 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.5148, allocations: 87.95 kB / 0.489 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000623/0.5154, allocations: 0.7084 MB / 0.4897 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5155, allocations: 0 / 0.4897 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009645/0.5251, allocations: 6.627 MB / 0.4962 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.5255, allocations: 179.6 kB / 0.4963 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.5259, allocations: 160.7 kB / 0.4965 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008484/0.5268, allocations: 163.9 kB / 0.4967 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000619/0.5274, allocations: 349.4 kB / 0.497 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/0.5276, allocations: 102.3 kB / 0.4971 GB, free: 1.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.5282, allocations: 378.8 kB / 0.4974 GB, free: 1.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5282, allocations: 0 / 0.4974 GB, free: 1.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002241/0.5304, allocations: 0.5926 MB / 0.498 GB, free: 500 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.disTAin[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.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.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 106 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.5315, allocations: 0.4969 MB / 0.4985 GB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00621/0.5377, allocations: 4.627 MB / 0.503 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.5377, allocations: 0 / 0.503 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005878/0.5436, allocations: 5.815 MB / 0.5087 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5447, allocations: 186.7 kB / 0.5089 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/0.551, allocations: 3.872 MB / 0.5127 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/0.552, allocations: 1.245 MB / 0.5139 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.5522, allocations: 79.42 kB / 0.514 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5522, allocations: 0 / 0.514 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.042/0.5942, allocations: 28.39 MB / 0.5417 GB, free: 3.141 MB / 414.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.ConTest.LoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.LoopAndArcweightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.ConTest.LoopAndArcweightCalcHelperMain.o] Error 1