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.001116/0.001116, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001058/0.001058, allocations: 198.8 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.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07327/0.07327, allocations: 16.72 MB / 307.5 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 60.73 kB / 371.8 MB, free: 48.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09512, allocations: 53.47 MB / 425.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.00277/0.09793, allocations: 2.106 MB / 427.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1003, allocations: 1.7 MB / 429 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.1006, allocations: 7.938 kB / 429 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1009, allocations: 103.4 kB / 429.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.1012, allocations: 91.42 kB / 429.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1024, allocations: 0.6346 MB / 429.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.1033, allocations: 1.405 MB / 431.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1035, allocations: 151.7 kB / 431.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.1039, allocations: 0.5336 MB / 432 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1042, allocations: 330.3 kB / 432.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.1043, allocations: 72 kB / 432.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.1048, allocations: 471.4 kB / 432.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.105, allocations: 159.4 kB / 433 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1052, allocations: 350.4 kB / 433.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006192/0.1058, allocations: 0.7889 MB / 434.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1058, allocations: 8 kB / 434.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1058, allocations: 0 / 434.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1059, allocations: 0 / 434.1 MB, free: 4.043 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.001238/0.1071, allocations: 1.245 MB / 435.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1071, allocations: 15.89 kB / 435.4 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.1077, allocations: 144 kB / 435.5 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1081, allocations: 399.3 kB / 435.9 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1082, allocations: 142.7 kB / 436 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.1084, allocations: 75.98 kB / 436.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1097, allocations: 1.126 MB / 437.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1098, allocations: 4 kB / 437.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.1098, allocations: 31.98 kB / 437.3 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.677e-05/0.1099, allocations: 56.95 kB / 437.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1111, allocations: 0.7692 MB / 438.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.1143, allocations: 2.788 MB / 440.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1155, allocations: 1.033 MB / 441.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009059/0.1165, allocations: 0.9008 MB / 442.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.1165, allocations: 15.98 kB / 442.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009404/0.1175, allocations: 0.6606 MB / 443.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=68): time 2.104e-06/0.1175, allocations: 0 / 443.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=68): time 0.003309/0.1208, allocations: 2.077 MB / 445.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/0.1211, allocations: 0.536 MB / 446.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.1215, allocations: 372.1 kB / 446.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.1216, allocations: 61.69 kB / 446.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1218, allocations: 256.3 kB / 446.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.122, allocations: 173.9 kB / 446.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.1222, allocations: 202.5 kB / 447.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1224, allocations: 378.6 kB / 447.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.1229, allocations: 330.1 kB / 447.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.1236, allocations: 0.6423 MB / 448.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.1252, allocations: 1.62 MB / 450.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.1252, allocations: 4 kB / 450.1 MB, free: 3 MB / 318.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002071/0.1273, allocations: 1.554 MB / 451.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.1275, allocations: 358.8 kB / 452 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009862/0.1285, allocations: 0.7076 MB / 452.7 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.1289, allocations: 68.89 kB / 452.8 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.1292, allocations: 115.7 kB / 452.9 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000462/0.1297, allocations: 0.603 MB / 453.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.1301, allocations: 111 kB / 453.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.1302, allocations: 51.94 kB / 453.7 MB, free: 15.24 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.000824/0.131, allocations: 0.7145 MB / 454.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.1312, allocations: 63.56 kB / 454.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.1335, allocations: 1.624 MB / 456.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1336, allocations: 4 kB / 456.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1336, allocations: 0 / 456.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1336, allocations: 3.984 kB / 456.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.1369, allocations: 2.49 MB / 458.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002101/0.139, allocations: 1.522 MB / 460.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1392, allocations: 31.97 kB / 460.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.1394, allocations: 52.83 kB / 460.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.1395, allocations: 39.97 kB / 460.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003828/0.1399, allocations: 0.5912 MB / 460.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1399, allocations: 4.031 kB / 460.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.1434, allocations: 2.544 MB / 463.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1435, allocations: 124.4 kB / 463.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.1437, allocations: 75.91 kB / 463.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.1441, allocations: 47.97 kB / 463.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.1443, allocations: 64 kB / 463.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/0.1443, allocations: 43.97 kB / 463.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1446, allocations: 223.1 kB / 463.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 463.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009687/0.1455, allocations: 299.5 kB / 464.2 MB, free: 4.289 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: 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.0006797/0.1462, allocations: 348.8 kB / 464.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.1486, allocations: 1.841 MB / 466.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1486, allocations: 0 / 466.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.1505, allocations: 2.231 MB / 468.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.1511, allocations: 85.33 kB / 468.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1536, allocations: 1.562 MB / 470.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.1542, allocations: 0.9143 MB / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1544, allocations: 55.28 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1544, allocations: 0 / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Templates: time 0.01722/0.1716, allocations: 12.85 MB / 484.1 MB, free: 76 kB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.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.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: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, tmp149, tmp150, _system->_P1_P_prelimSpeedIn_, tmp151, tmp152, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop141.cpp:100:272: 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, _system->_P1_P_prelimSpeedIn_, tmp151, tmp152, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ 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:98: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, tmp159, tmp160, _system->_P1_P_prelimSpeedIn_, tmp161, tmp162, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop36.cpp:98:272: 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, tmp159, tmp160, _system->_P1_P_prelimSpeedIn_, tmp161, tmp162, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1034:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp202,(!tmp203),tmp204); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1