Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 103.7 kB / 16.41 MB, free: 6.465 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.002302/0.002302, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.848/2.848, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1648/0.1648, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 67.89 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1798, allocations: 53.47 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.005448/0.1853, allocations: 2.003 MB / 482.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.191, allocations: 1.676 MB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.1918, allocations: 11.94 kB / 484.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.1926, allocations: 127 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1937, allocations: 135 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.1971, allocations: 0.6889 MB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.2001, allocations: 1.428 MB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.2007, allocations: 168.7 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.2019, allocations: 0.5414 MB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.2029, allocations: 374.1 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.2033, allocations: 88 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.205, allocations: 0.4955 MB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.2055, allocations: 171.4 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000899/0.2064, allocations: 394.2 kB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.2092, allocations: 1.196 MB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.2093, allocations: 0 / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2093, allocations: 3.938 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.2093, allocations: 0 / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003625/0.2129, allocations: 1.322 MB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.213, allocations: 15.88 kB / 491.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.2143, allocations: 140 kB / 491.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2154, allocations: 442.9 kB / 491.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.2157, allocations: 146.5 kB / 492 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.2161, allocations: 87.95 kB / 492.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/0.22, allocations: 1.326 MB / 493.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.742e-05/0.2201, allocations: 3.938 kB / 493.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.2203, allocations: 43.97 kB / 493.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.2205, allocations: 61.27 kB / 493.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.2237, allocations: 0.9419 MB / 494.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00765/0.2314, allocations: 2.94 MB / 497.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.2346, allocations: 1.256 MB / 498.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.2371, allocations: 1.127 MB / 499.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/0.2412, allocations: 2.96 MB / 0.4909 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002474/0.2437, allocations: 0.809 MB / 0.4917 GB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 5.159e-06/0.2438, allocations: 0 / 0.4917 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.007623/0.2514, allocations: 2.519 MB / 0.4942 GB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007735/0.2522, allocations: 0.5481 MB / 0.4947 GB, free: 9.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.2532, allocations: 392 kB / 0.4951 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.2534, allocations: 65.69 kB / 0.4952 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.2539, allocations: 276.1 kB / 0.4954 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.2543, allocations: 189.7 kB / 0.4956 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006064/0.255, allocations: 226.5 kB / 0.4958 GB, free: 8.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.2553, allocations: 370.8 kB / 0.4962 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/0.261, allocations: 478 kB / 0.4966 GB, free: 7.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.2632, allocations: 0.8079 MB / 0.4974 GB, free: 6.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.2671, allocations: 1.758 MB / 0.4991 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.2672, allocations: 4 kB / 0.4991 GB, free: 4.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005674/0.2729, allocations: 1.929 MB / 0.501 GB, free: 2.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004038/0.2733, allocations: 378.6 kB / 0.5014 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007466/0.2808, allocations: 1.064 MB / 0.5024 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.2815, allocations: 88.86 kB / 0.5025 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.2823, allocations: 111.7 kB / 0.5026 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000868/0.2832, allocations: 0.6186 MB / 0.5032 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.2845, allocations: 139.2 kB / 0.5034 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4155/0.7, allocations: 54.17 kB / 0.5034 GB, free: 35.38 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$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,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,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.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001837/0.7019, allocations: 0.7537 MB / 0.5041 GB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.7023, allocations: 72.45 kB / 0.5042 GB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.7076, allocations: 1.981 MB / 0.5061 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.7076, allocations: 7.125 kB / 0.5062 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7077, allocations: 1.609 kB / 0.5062 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7077, allocations: 1.219 kB / 0.5062 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.7139, allocations: 2.714 MB / 0.5088 GB, free: 33.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004254/0.7182, allocations: 1.858 MB / 0.5106 GB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.7185, allocations: 36.33 kB / 0.5107 GB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.7189, allocations: 61.3 kB / 0.5107 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.7191, allocations: 41.59 kB / 0.5108 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005575/0.7196, allocations: 0.6035 MB / 0.5113 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7197, allocations: 4.656 kB / 0.5113 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.7316, allocations: 3.043 MB / 0.5143 GB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.7319, allocations: 131.4 kB / 0.5144 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.7323, allocations: 73.66 kB / 0.5145 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008605/0.7332, allocations: 76.94 kB / 0.5146 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007164/0.7339, allocations: 253.2 kB / 0.5148 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.7342, allocations: 45.91 kB / 0.5149 GB, free: 30.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004113/0.7346, allocations: 241.2 kB / 0.5151 GB, free: 30.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7346, allocations: 0 / 0.5151 GB, free: 30.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00194/0.7365, allocations: 335.8 kB / 0.5154 GB, free: 30.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($whenCondition1,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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[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.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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.7379, allocations: 376.9 kB / 0.5158 GB, free: 30.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008617/0.7466, allocations: 2.223 MB / 0.518 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.7466, allocations: 1.719 kB / 0.518 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003729/0.7504, allocations: 2.508 MB / 0.5204 GB, free: 27.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7515, allocations: 93.81 kB / 0.5205 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.756, allocations: 1.597 MB / 0.5221 GB, free: 26.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.7569, allocations: 0.9319 MB / 0.523 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.7572, allocations: 54.02 kB / 0.523 GB, free: 25.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7572, allocations: 0 / 0.523 GB, free: 25.6 MB / 382.1 MB Notification: Performance of Templates: time 0.04065/0.7979, allocations: 14.7 MB / 0.5374 GB, free: 14.95 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile clang++ -std=c++17 -fopenmp=libomp -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 OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp153, tmp154, tmp155, tmp156, tmp157, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:244: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:284: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:885:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp202),tmp203); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1