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.0009709/0.0009709, allocations: 91.53 kB / 16.02 MB, free: 76 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.001187/0.001187, allocations: 184.4 kB / 16.92 MB, free: 6.926 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1869/0.1869, allocations: 16.73 MB / 308.8 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 8 kB / 374.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 54.49 MB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.00178/0.3311, allocations: 1.732 MB / 430.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.334, allocations: 1.904 MB / 432.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.3342, allocations: 6.969 kB / 432.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.3345, allocations: 101.8 kB / 432.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.3348, allocations: 101 kB / 432.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3359, allocations: 0.5956 MB / 433 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.3368, allocations: 1.146 MB / 434.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.3371, allocations: 156.9 kB / 434.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.3375, allocations: 437.3 kB / 434.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.3379, allocations: 323.4 kB / 435 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.338, allocations: 36.12 kB / 435.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.3386, allocations: 414 kB / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3388, allocations: 135.6 kB / 435.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.3391, allocations: 363.2 kB / 436 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.3397, allocations: 0.8302 MB / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3397, allocations: 0 / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3398, allocations: 0 / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3398, allocations: 0 / 436.8 MB, free: 36.29 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001205/0.341, allocations: 1.176 MB / 438 MB, free: 35.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.341, allocations: 9 kB / 438 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.3416, allocations: 144 kB / 438.1 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.3421, allocations: 431.5 kB / 438.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3422, allocations: 145 kB / 438.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3424, allocations: 89.83 kB / 438.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.3442, allocations: 1.339 MB / 440.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3442, allocations: 0 / 440.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.3443, allocations: 39.61 kB / 440.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/0.3444, allocations: 62.72 kB / 440.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3458, allocations: 0.9459 MB / 441.2 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.3486, allocations: 2.957 MB / 444.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.3498, allocations: 1.271 MB / 445.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/0.3508, allocations: 1.13 MB / 446.5 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3509, allocations: 100.4 kB / 446.6 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/0.3519, allocations: 0.7985 MB / 447.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.3519, allocations: 0 / 447.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.003425/0.3553, allocations: 2.541 MB / 450 MB, free: 28.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/0.3556, allocations: 0.553 MB / 450.5 MB, free: 28.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.356, allocations: 396.1 kB / 450.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.3561, allocations: 60.84 kB / 450.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3563, allocations: 288.1 kB / 451.2 MB, free: 27.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3564, allocations: 187.7 kB / 451.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3565, allocations: 131.4 kB / 451.5 MB, free: 27.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.3566, allocations: 367.5 kB / 451.9 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.3572, allocations: 476.2 kB / 452.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.358, allocations: 0.8129 MB / 453.2 MB, free: 26.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3596, allocations: 1.784 MB / 455 MB, free: 25.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.3596, allocations: 3 kB / 455 MB, free: 25.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00231/0.3619, allocations: 1.939 MB / 456.9 MB, free: 24.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.362, allocations: 372.2 kB / 457.3 MB, free: 23.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.3621, allocations: 19.89 kB / 457.3 MB, free: 23.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.3624, allocations: 76.91 kB / 457.4 MB, free: 23.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3627, allocations: 130.9 kB / 457.5 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003339/0.3631, allocations: 0.5967 MB / 458.1 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.3636, allocations: 133.9 kB / 458.2 MB, free: 23.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.3637, allocations: 60.91 kB / 458.3 MB, free: 23.18 MB / 350.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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007803/0.3645, allocations: 0.7578 MB / 459 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.3647, allocations: 74.75 kB / 459.1 MB, free: 22.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.3673, allocations: 1.987 MB / 461.1 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3673, allocations: 8.375 kB / 461.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3674, allocations: 1.125 kB / 461.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3674, allocations: 0 / 461.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.3707, allocations: 2.73 MB / 463.8 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3707, allocations: 2.625 kB / 463.8 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3709, allocations: 31.91 kB / 463.9 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.3711, allocations: 65 kB / 463.9 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-05/0.3712, allocations: 39.36 kB / 464 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003102/0.3715, allocations: 0.5983 MB / 464.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3715, allocations: 1.5 kB / 464.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.3756, allocations: 3.027 MB / 467.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.3757, allocations: 136.1 kB / 467.7 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.3759, allocations: 73.19 kB / 467.8 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.3764, allocations: 83.28 kB / 467.9 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/0.3768, allocations: 260.6 kB / 468.1 MB, free: 18.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.3769, allocations: 45.56 kB / 468.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3772, allocations: 233.8 kB / 468.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 0 / 468.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001046/0.3782, allocations: 331.4 kB / 468.7 MB, free: 18.03 MB / 350.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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007753/0.379, allocations: 372.7 kB / 469.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.3816, allocations: 2.227 MB / 471.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3816, allocations: 1.125 kB / 471.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.3836, allocations: 2.506 MB / 473.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3841, allocations: 93.59 kB / 473.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.3868, allocations: 1.805 MB / 475.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3873, allocations: 0.9242 MB / 476.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3875, allocations: 52.91 kB / 476.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3875, allocations: 1.031 kB / 476.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Templates: time 0.02144/0.4089, allocations: 14.46 MB / 491.2 MB, free: 4.453 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile clang++ -std=c++14 -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.PCtoTCfunctionAlgloop150.cpp:90:268: 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_), tmp152, tmp153, tmp154, _system->_P1_P_prelimSpeedOut_, tmp155, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop150.cpp:90:308: 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_), tmp152, tmp153, tmp154, _system->_P1_P_prelimSpeedOut_, tmp155, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ 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.PCtoTCfunctionAlgloop38.cpp:89:268: 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_), tmp161, tmp162, tmp163, _system->_P1_P_prelimSpeedOut_, tmp164, _system->_P1_P_enableOut_P_arcWeight_, (tmp165 && (!tmp166)), (_system->_P1_P_fireOut_ && (!tmp167)), tmp168); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop38.cpp:89:308: 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_), tmp161, tmp162, tmp163, _system->_P1_P_prelimSpeedOut_, tmp164, _system->_P1_P_enableOut_P_arcWeight_, (tmp165 && (!tmp166)), (_system->_P1_P_fireOut_ && (!tmp167)), tmp168); ^~~~~~~ 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:886:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp200),tmp201); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.cpp:1095:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp239); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1