Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001277/0.001277, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07592/0.07592, allocations: 16.73 MB / 307.8 MB, free: 14.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 65.02 kB / 372.3 MB, free: 49.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09097, allocations: 53.47 MB / 425.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.00295/0.09396, allocations: 1.995 MB / 427.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.09675, allocations: 1.68 MB / 429.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.09707, allocations: 4 kB / 429.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.09742, allocations: 135 kB / 429.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.09781, allocations: 131 kB / 429.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.09893, allocations: 0.6886 MB / 430.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009412/0.09989, allocations: 1.412 MB / 431.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1001, allocations: 147.6 kB / 431.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.1005, allocations: 0.526 MB / 432.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1008, allocations: 334.2 kB / 432.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.531e-05/0.1009, allocations: 76 kB / 432.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.1014, allocations: 471.4 kB / 433.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1016, allocations: 155.5 kB / 433.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.1018, allocations: 346.4 kB / 433.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.1026, allocations: 1.041 MB / 434.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1026, allocations: 0 / 434.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1026, allocations: 0 / 434.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1026, allocations: 0 / 434.8 MB, free: 3.484 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001218/0.1039, allocations: 1.267 MB / 436.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1039, allocations: 11.89 kB / 436.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.1045, allocations: 140 kB / 436.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.1049, allocations: 403 kB / 436.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.105, allocations: 150.7 kB / 436.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.1051, allocations: 79.97 kB / 436.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1065, allocations: 1.118 MB / 438 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1065, allocations: 3.938 kB / 438 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.1066, allocations: 35.98 kB / 438 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.1067, allocations: 52.95 kB / 438.1 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.108, allocations: 0.7731 MB / 438.8 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.1112, allocations: 2.788 MB / 441.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1124, allocations: 1.025 MB / 442.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.1133, allocations: 0.9047 MB / 443.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.1152, allocations: 2.888 MB / 446.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009278/0.1162, allocations: 0.6606 MB / 447.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=68): time 2.495e-06/0.1162, allocations: 0 / 447.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=68): time 0.003229/0.1194, allocations: 2.093 MB / 449.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002727/0.1197, allocations: 0.5282 MB / 449.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1201, allocations: 372.1 kB / 450.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.1202, allocations: 61.69 kB / 450.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1204, allocations: 260.3 kB / 450.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.1205, allocations: 173.9 kB / 450.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.1208, allocations: 202.5 kB / 450.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1209, allocations: 374.7 kB / 451.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.1214, allocations: 330.1 kB / 451.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.1222, allocations: 0.6384 MB / 452.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.1238, allocations: 1.632 MB / 453.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1238, allocations: 4 kB / 453.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002003/0.1258, allocations: 1.562 MB / 455.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.126, allocations: 350.7 kB / 455.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001157/0.1272, allocations: 0.7275 MB / 456.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.1275, allocations: 80.8 kB / 456.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1279, allocations: 107.8 kB / 456.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004519/0.1283, allocations: 0.6069 MB / 457.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1287, allocations: 111 kB / 457.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.1288, allocations: 59.98 kB / 457.3 MB, free: 11.09 MB / 334.1 MB Warning: Assuming fixed start value for the following 18 variables: 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 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 P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 101 ($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,$whenCondition3,$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.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007789/0.1296, allocations: 0.7048 MB / 458 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.1298, allocations: 71.36 kB / 458.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.1321, allocations: 1.624 MB / 459.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1321, allocations: 4 kB / 459.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1321, allocations: 0 / 459.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1321, allocations: 7.984 kB / 459.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.1354, allocations: 2.492 MB / 462.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002073/0.1375, allocations: 1.526 MB / 463.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1377, allocations: 27.92 kB / 463.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.1379, allocations: 56.81 kB / 463.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/0.138, allocations: 31.98 kB / 463.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000414/0.1384, allocations: 0.603 MB / 464.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1384, allocations: 3.938 kB / 464.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.1419, allocations: 2.54 MB / 467 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.142, allocations: 120.6 kB / 467.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.1422, allocations: 75.95 kB / 467.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.1426, allocations: 56.02 kB / 467.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.1428, allocations: 67.86 kB / 467.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.1429, allocations: 39.98 kB / 467.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1431, allocations: 231 kB / 467.6 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1431, allocations: 0 / 467.6 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009801/0.1441, allocations: 307.5 kB / 467.9 MB, free: 128 kB / 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: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,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) * Number of discrete states: 50 (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,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006934/0.1448, allocations: 351.3 kB / 468.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.1471, allocations: 1.835 MB / 470.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1471, allocations: 4 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.1489, allocations: 2.231 MB / 472.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.1494, allocations: 91.2 kB / 472.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.1518, allocations: 1.378 MB / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1523, allocations: 0.9104 MB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1524, allocations: 51.41 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1524, allocations: 3.938 kB / 474.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01575/0.1682, allocations: 12.86 MB / 487.6 MB, free: 12.07 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:102:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:102:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:100:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:100:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1033:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp204,(!tmp205),tmp206); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1