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.001167/0.001167, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.0012/0.001201, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.313/1.313, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07525/0.07525, allocations: 16.73 MB / 307.5 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 60.66 kB / 371.8 MB, free: 48.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09181, allocations: 53.46 MB / 425.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.002507/0.09436, allocations: 2.11 MB / 427.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.09663, allocations: 1.707 MB / 429 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.09689, allocations: 4 kB / 429 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.09717, allocations: 103.3 kB / 429.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.09758, allocations: 99.42 kB / 429.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.09869, allocations: 0.6242 MB / 429.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.09955, allocations: 1.42 MB / 431.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.09975, allocations: 168.6 kB / 431.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.1001, allocations: 0.5453 MB / 432 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.1004, allocations: 362.2 kB / 432.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.1005, allocations: 88 kB / 432.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/0.101, allocations: 491.4 kB / 432.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1012, allocations: 159.4 kB / 433.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1014, allocations: 402.2 kB / 433.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.1021, allocations: 0.8825 MB / 434.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1021, allocations: 4 kB / 434.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1021, allocations: 3.938 kB / 434.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1021, allocations: 0 / 434.3 MB, free: 3.805 MB / 302.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.001287/0.1034, allocations: 1.318 MB / 435.7 MB, free: 2.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1034, allocations: 11.89 kB / 435.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.104, allocations: 148 kB / 435.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.1045, allocations: 435.1 kB / 436.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.1046, allocations: 154.5 kB / 436.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1047, allocations: 79.98 kB / 436.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.1063, allocations: 1.341 MB / 437.8 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1063, allocations: 3.938 kB / 437.8 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.1064, allocations: 39.98 kB / 437.9 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.124e-05/0.1065, allocations: 61.27 kB / 437.9 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.1081, allocations: 0.9302 MB / 438.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.1119, allocations: 2.964 MB / 441.8 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.1134, allocations: 1.252 MB / 443.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.1146, allocations: 1.127 MB / 444.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.1148, allocations: 105.3 kB / 444.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.1159, allocations: 0.8008 MB / 445.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.116, allocations: 0 / 445.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=70): time 0.003781/0.1198, allocations: 2.511 MB / 447.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003202/0.1201, allocations: 0.5598 MB / 448.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1206, allocations: 392.1 kB / 448.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.1207, allocations: 61.69 kB / 448.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1209, allocations: 280 kB / 448.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1211, allocations: 185.8 kB / 449.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.1214, allocations: 234.5 kB / 449.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1216, allocations: 366.8 kB / 449.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.1223, allocations: 474 kB / 450.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.1233, allocations: 0.8116 MB / 450.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.1251, allocations: 1.769 MB / 452.7 MB, free: 412 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.1251, allocations: 0 / 452.7 MB, free: 412 kB / 318.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002694/0.1278, allocations: 1.933 MB / 454.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.1281, allocations: 378.6 kB / 455 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.1281, allocations: 12.78 kB / 455 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.1284, allocations: 80.8 kB / 455.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1288, allocations: 107.7 kB / 455.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004451/0.1292, allocations: 0.5991 MB / 455.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.1298, allocations: 134.9 kB / 455.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.1299, allocations: 56.05 kB / 456 MB, free: 12.93 MB / 334.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.0009326/0.1308, allocations: 0.7664 MB / 456.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.131, allocations: 67.44 kB / 456.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.134, allocations: 1.988 MB / 458.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.134, allocations: 4 kB / 458.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.134, allocations: 0 / 458.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.134, allocations: 3.984 kB / 458.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.1375, allocations: 2.708 MB / 461.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.1376, allocations: 3.984 kB / 461.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1377, allocations: 31.92 kB / 461.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.1379, allocations: 52.81 kB / 461.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-05/0.138, allocations: 39.98 kB / 461.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004229/0.1385, allocations: 0.5991 MB / 462.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1385, allocations: 0 / 462.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.1427, allocations: 3.029 MB / 465.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1429, allocations: 128.3 kB / 465.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.143, allocations: 75.97 kB / 465.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.1435, allocations: 72 kB / 465.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/0.144, allocations: 251.8 kB / 465.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.1441, allocations: 43.97 kB / 465.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.1443, allocations: 235 kB / 466.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 0 / 466.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1453, allocations: 331.6 kB / 466.4 MB, free: 2.184 MB / 334.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.0007293/0.1461, allocations: 379.4 kB / 466.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.149, allocations: 2.268 MB / 469 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.149, allocations: 8.312 kB / 469 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.1513, allocations: 2.505 MB / 471.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.1519, allocations: 93.36 kB / 471.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1545, allocations: 1.784 MB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.155, allocations: 0.926 MB / 474.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1552, allocations: 51.42 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1552, allocations: 0 / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Templates: time 0.01907/0.1743, allocations: 14.55 MB / 488.9 MB, free: 11.26 MB / 366.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