Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 92 kB / 16.02 MB, free: 80 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.001854/0.001854, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2086/0.2086, allocations: 16.74 MB / 308.8 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003105, allocations: 8 kB / 374.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 54.48 MB / 428.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002114/0.3367, allocations: 1.708 MB / 430.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.3396, allocations: 1.769 MB / 432 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.3399, allocations: 10.19 kB / 432 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3402, allocations: 96.73 kB / 432.1 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3405, allocations: 81.92 kB / 432.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3418, allocations: 0.5635 MB / 432.8 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.3427, allocations: 1.064 MB / 433.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.3429, allocations: 134.8 kB / 434 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.3433, allocations: 399.7 kB / 434.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.3436, allocations: 288 kB / 434.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.3437, allocations: 28.97 kB / 434.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.3443, allocations: 361.6 kB / 435 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3444, allocations: 132.4 kB / 435.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3447, allocations: 323.6 kB / 435.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.3453, allocations: 0.7112 MB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3453, allocations: 0 / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3454, allocations: 0 / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3454, allocations: 3.938 kB / 436.2 MB, free: 36.93 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001206/0.3466, allocations: 1.121 MB / 437.3 MB, free: 35.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3466, allocations: 9.031 kB / 437.3 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.3472, allocations: 131 kB / 437.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.3476, allocations: 416.8 kB / 437.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.3478, allocations: 144.3 kB / 438 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3479, allocations: 73.33 kB / 438.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3494, allocations: 1.108 MB / 439.2 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3494, allocations: 2.75 kB / 439.2 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.3495, allocations: 35.58 kB / 439.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.3496, allocations: 51.27 kB / 439.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3509, allocations: 0.7718 MB / 440 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.3539, allocations: 2.754 MB / 442.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.355, allocations: 1.05 MB / 443.8 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.3559, allocations: 0.909 MB / 444.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.356, allocations: 92.97 kB / 444.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/0.3569, allocations: 0.6836 MB / 445.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.094e-06/0.3569, allocations: 0 / 445.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002686/0.3596, allocations: 1.954 MB / 447.5 MB, free: 30.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/0.3598, allocations: 0.5833 MB / 448.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.3603, allocations: 373.5 kB / 448.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3603, allocations: 59.7 kB / 448.5 MB, free: 29.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.3605, allocations: 269.5 kB / 448.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3606, allocations: 182.2 kB / 448.9 MB, free: 29.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3608, allocations: 129.3 kB / 449 MB, free: 28.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.3609, allocations: 375.6 kB / 449.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.3614, allocations: 323.8 kB / 449.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.362, allocations: 0.6683 MB / 450.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.3641, allocations: 2.123 MB / 452.5 MB, free: 26.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.3641, allocations: 2.844 kB / 452.5 MB, free: 26.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001923/0.3661, allocations: 1.531 MB / 454.1 MB, free: 25.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.3663, allocations: 352.9 kB / 454.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.3663, allocations: 20.66 kB / 454.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.3663, allocations: 20.09 kB / 454.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.3667, allocations: 114 kB / 454.5 MB, free: 25.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.3667, allocations: 26.11 kB / 454.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3672, allocations: 112.7 kB / 454.7 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.3673, allocations: 48.59 kB / 454.7 MB, free: 25.03 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009061/0.3682, allocations: 0.7219 MB / 455.5 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3683, allocations: 65.22 kB / 455.5 MB, free: 24.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.3704, allocations: 1.444 MB / 457 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3704, allocations: 2.969 kB / 457 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3704, allocations: 3.031 kB / 457 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3704, allocations: 0 / 457 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.3735, allocations: 2.345 MB / 459.3 MB, free: 22.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.3736, allocations: 7.125 kB / 459.3 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.3737, allocations: 28.95 kB / 459.3 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.3737, allocations: 7.188 kB / 459.4 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.3738, allocations: 40.84 kB / 459.4 MB, free: 22.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.3738, allocations: 7.062 kB / 459.4 MB, free: 22.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3738, allocations: 7.938 kB / 459.4 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/0.3778, allocations: 2.471 MB / 461.9 MB, free: 21.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.378, allocations: 128.5 kB / 462 MB, free: 21.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.3782, allocations: 66.84 kB / 462.1 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3785, allocations: 65.36 kB / 462.1 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.3788, allocations: 91.11 kB / 462.2 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3789, allocations: 47.06 kB / 462.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3792, allocations: 226.3 kB / 462.5 MB, free: 21.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3792, allocations: 0 / 462.5 MB, free: 21.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001258/0.3804, allocations: 288.4 kB / 462.8 MB, free: 21.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,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.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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007556/0.3812, allocations: 341.3 kB / 463.1 MB, free: 20.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.3836, allocations: 1.765 MB / 464.9 MB, free: 19.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3836, allocations: 0 / 464.9 MB, free: 19.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.3855, allocations: 2.209 MB / 467.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.3861, allocations: 86.64 kB / 467.2 MB, free: 18.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.389, allocations: 1.623 MB / 468.8 MB, free: 17.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.3895, allocations: 0.904 MB / 469.7 MB, free: 16.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3896, allocations: 42.16 kB / 469.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3896, allocations: 0 / 469.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of Templates: time 0.02117/0.4108, allocations: 10.31 MB / 480 MB, free: 14.05 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.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.HybTest.TDtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:722:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1103:183: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1103:206: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o] Error 1