Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 107.9 kB / 16.41 MB, free: 6.496 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.001559/0.001559, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.093/2.093, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1238/0.1238, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1678, allocations: 53.47 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.004698/0.1725, allocations: 1.975 MB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004582/0.1771, allocations: 1.556 MB / 484 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.1778, allocations: 11.94 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.1784, allocations: 123 kB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.1791, allocations: 111.1 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1818, allocations: 0.6503 MB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.1845, allocations: 1.33 MB / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.185, allocations: 143.8 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1862, allocations: 0.5024 MB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008162/0.187, allocations: 326.4 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.1873, allocations: 72 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1885, allocations: 447.4 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.1889, allocations: 155.5 kB / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.1896, allocations: 338.4 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.1915, allocations: 1.036 MB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1915, allocations: 0 / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1916, allocations: 0 / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.1916, allocations: 0 / 489.2 MB, free: 12.19 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002935/0.1945, allocations: 1.247 MB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.1946, allocations: 15.89 kB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.1956, allocations: 140 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.1965, allocations: 410.8 kB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.1967, allocations: 142.3 kB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.1969, allocations: 67.98 kB / 491.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.1996, allocations: 1.11 MB / 492.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.1997, allocations: 3.938 kB / 492.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.1998, allocations: 36 kB / 492.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.2, allocations: 48.95 kB / 492.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.2022, allocations: 0.7575 MB / 493.2 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.2081, allocations: 2.769 MB / 495.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.2104, allocations: 1.117 MB / 497 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.212, allocations: 0.9719 MB / 498 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002816/0.2148, allocations: 2.884 MB / 0.4892 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.2164, allocations: 0.7056 MB / 0.4899 GB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 5.56e-06/0.2164, allocations: 0 / 0.4899 GB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.004744/0.2212, allocations: 2.018 MB / 0.4918 GB, free: 12.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004992/0.2217, allocations: 0.579 MB / 0.4924 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.2225, allocations: 368.1 kB / 0.4927 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.2226, allocations: 61.69 kB / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.223, allocations: 256.4 kB / 0.493 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.2233, allocations: 177.8 kB / 0.4932 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/0.2238, allocations: 206.5 kB / 0.4934 GB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.224, allocations: 370.7 kB / 0.4938 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.2248, allocations: 326.1 kB / 0.4941 GB, free: 10.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.2261, allocations: 0.6595 MB / 0.4947 GB, free: 9.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/0.2298, allocations: 2.117 MB / 0.4968 GB, free: 6.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.2298, allocations: 0 / 0.4968 GB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003288/0.2331, allocations: 1.519 MB / 0.4983 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.2334, allocations: 350.6 kB / 0.4986 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001301/0.2347, allocations: 0.584 MB / 0.4992 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/0.2348, allocations: 16 kB / 0.4992 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.2353, allocations: 115.7 kB / 0.4993 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.913e-05/0.2354, allocations: 23.92 kB / 0.4993 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.2361, allocations: 103 kB / 0.4994 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.2362, allocations: 55.98 kB / 0.4995 GB, free: 4.02 MB / 382.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: 46 * 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 (117): * Single equations (assignments): 105 * 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.001338/0.2376, allocations: 0.7142 MB / 0.5002 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.2379, allocations: 63.44 kB / 0.5002 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.2414, allocations: 1.495 MB / 0.5017 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.2414, allocations: 4 kB / 0.5017 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.2414, allocations: 3.984 kB / 0.5017 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2414, allocations: 4 kB / 0.5017 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4455/0.687, allocations: 2.384 MB / 0.504 GB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003661/0.6907, allocations: 1.413 MB / 0.5054 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.6909, allocations: 30.7 kB / 0.5054 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.691, allocations: 1.969 kB / 0.5054 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6912, allocations: 36.91 kB / 0.5055 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.6912, allocations: 7 kB / 0.5055 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.6912, allocations: 5.875 kB / 0.5055 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/0.6973, allocations: 2.545 MB / 0.508 GB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.6976, allocations: 125.4 kB / 0.5081 GB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.6979, allocations: 69.5 kB / 0.5082 GB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.6985, allocations: 55.28 kB / 0.5082 GB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.6989, allocations: 95.03 kB / 0.5083 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.6991, allocations: 43.78 kB / 0.5083 GB, free: 33.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.6995, allocations: 216 kB / 0.5086 GB, free: 33.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6995, allocations: 0 / 0.5086 GB, free: 33.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001647/0.7011, allocations: 287.6 kB / 0.5088 GB, free: 33.52 MB / 382.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 (36): * Single equations (assignments): 23 * 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.0009567/0.7021, allocations: 348.9 kB / 0.5092 GB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.7052, allocations: 1.783 MB / 0.5109 GB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7052, allocations: 0 / 0.5109 GB, free: 32.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.708, allocations: 2.283 MB / 0.5131 GB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.7089, allocations: 85.73 kB / 0.5132 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.7131, allocations: 1.509 MB / 0.5147 GB, free: 29.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.7138, allocations: 0.9028 MB / 0.5156 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.714, allocations: 48.72 kB / 0.5156 GB, free: 29.13 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.714, allocations: 0 / 0.5156 GB, free: 29.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02578/0.7398, allocations: 10.57 MB / 0.5259 GB, free: 25.65 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.HybTest.TDtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:189: 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, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:210: 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, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:730:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:204: 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, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:227: 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, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1