Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003284/0.003285, allocations: 178.4 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05973/0.05973, allocations: 10.6 MB / 18.46 MB, free: 2.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 226.5 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 92.7 kB / 276.9 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1443/0.1453, allocations: 56.13 MB / 333 MB, free: 9.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.4483, allocations: 49.99 MB / 383 MB, free: 39.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.5563, allocations: 82.32 MB / 465.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5567, allocations: 84.8 kB / 465.4 MB, free: 5.551 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.04639/0.6031, allocations: 14.57 MB / 480 MB, free: 6.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6031, allocations: 8 kB / 480 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.6036, allocations: 114.9 kB / 480.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.606, allocations: 0.6591 MB / 480.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.6061, allocations: 40 kB / 480.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.6063, allocations: 79.89 kB / 480.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/0.6076, allocations: 0.5568 MB / 481.5 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.6091, allocations: 0.8352 MB / 482.3 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.6092, allocations: 7.906 kB / 482.3 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/0.6093, allocations: 27.98 kB / 482.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.6093, allocations: 12 kB / 482.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.6152, allocations: 2.409 MB / 484.7 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.6174, allocations: 2.003 MB / 486.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.6193, allocations: 1.947 MB / 488.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.6194, allocations: 4.172 kB / 488.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.6205, allocations: 0.7882 MB / 489.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=86): time 6.071e-06/0.6205, allocations: 0 / 489.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.00203/0.6225, allocations: 0.9475 MB / 490.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003334/0.6229, allocations: 409.1 kB / 490.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.624, allocations: 0.5137 MB / 491.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.6241, allocations: 47.66 kB / 491.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.6244, allocations: 276.1 kB / 491.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.6248, allocations: 252.8 kB / 491.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.6248, allocations: 3.938 kB / 491.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.6251, allocations: 406.7 kB / 492.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.6256, allocations: 203 kB / 492.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.6267, allocations: 0.7207 MB / 493.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.6276, allocations: 372.8 kB / 493.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/0.6277, allocations: 4 kB / 493.6 MB, free: 8.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002637/0.6303, allocations: 1.087 MB / 494.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6304, allocations: 4 kB / 494.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/0.6304, allocations: 20.12 kB / 494.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.148e-05/0.6305, allocations: 28 kB / 494.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.6313, allocations: 235.5 kB / 495 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.741e-05/0.6314, allocations: 43.92 kB / 495 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.632, allocations: 102.8 kB / 495.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.6321, allocations: 60 kB / 495.2 MB, free: 7.129 MB / 378.7 MB Warning: Assuming fixed start value for the following 57 variables: ControllerPm70.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = false protected = true ) type: Boolean ControllerPm70.nOx:DISCRETE(fixed = false protected = true ) type: Integer ControllerPm70.lastToggleUp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.rCSmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.rCSmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.rPVmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.rPVmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.Pox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.wox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.CSi:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.CSp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.e:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.UP:DISCRETE(fixed = false protected = true ) type: Boolean ControllerPm60.nOx:DISCRETE(fixed = false protected = true ) type: Integer ControllerPm60.lastToggleUp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.rCSmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.rCSmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.rPVmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.rPVmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.Pox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.wox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.CSi:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.CSp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.e:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = false protected = true ) type: Boolean ControllerPm45.nOx:DISCRETE(fixed = false protected = true ) type: Integer ControllerPm45.lastToggleUp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.rCSmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.rCSmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.rPVmin:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.rPVmax:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.Pox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.wox:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.CSi:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.CSp:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.e:DISCRETE(fixed = false protected = true ) type: Real ProcessPm70.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessPm70.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessPm70.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessPm70.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessPm60.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessPm60.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessPm60.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessPm60.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessPm60.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessPm45.U[2]:VARIABLE(protected = true ) type: Real [3] ControllerPm70.CS:DISCRETE(fixed = false ) "Control signal" type: Real ControllerPm60.CS:DISCRETE(fixed = false ) "Control signal" type: Real ControllerPm45.CS:DISCRETE(fixed = false ) "Control signal" type: Real ProcessPm45.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessPm45.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessPm45.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessPm45.U[3]:VARIABLE(protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 117 ($PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$PRE.ControllerPm70.nOx,ControllerPm70.nOx,$PRE.ControllerPm70.lastToggleUp,ControllerPm70.lastToggleUp,$PRE.ControllerPm70.rCSmin,ControllerPm70.rCSmin,$PRE.ControllerPm70.rCSmax,ControllerPm70.rCSmax,$PRE.ControllerPm70.rPVmin,ControllerPm70.rPVmin,$PRE.ControllerPm70.rPVmax,ControllerPm70.rPVmax,$PRE.ControllerPm70.Pox,ControllerPm70.Pox,$PRE.ControllerPm70.wox,ControllerPm70.wox,$PRE.ControllerPm70.CSi,ControllerPm70.CSi,$PRE.ControllerPm70.CSp,ControllerPm70.CSp,$PRE.ControllerPm70.e,ControllerPm70.e,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.UP,$PRE.ControllerPm60.nOx,ControllerPm60.nOx,$PRE.ControllerPm60.lastToggleUp,ControllerPm60.lastToggleUp,$PRE.ControllerPm60.rCSmin,ControllerPm60.rCSmin,$PRE.ControllerPm60.rCSmax,ControllerPm60.rCSmax,$PRE.ControllerPm60.rPVmin,ControllerPm60.rPVmin,$PRE.ControllerPm60.rPVmax,ControllerPm60.rPVmax,$PRE.ControllerPm60.Pox,ControllerPm60.Pox,$PRE.ControllerPm60.wox,ControllerPm60.wox,$PRE.ControllerPm60.CSi,ControllerPm60.CSi,$PRE.ControllerPm60.CSp,ControllerPm60.CSp,$PRE.ControllerPm60.e,ControllerPm60.e,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$PRE.ControllerPm45.nOx,ControllerPm45.nOx,$PRE.ControllerPm45.lastToggleUp,ControllerPm45.lastToggleUp,$PRE.ControllerPm45.rCSmin,ControllerPm45.rCSmin,$PRE.ControllerPm45.rCSmax,ControllerPm45.rCSmax,$PRE.ControllerPm45.rPVmin,ControllerPm45.rPVmin,$PRE.ControllerPm45.rPVmax,ControllerPm45.rPVmax,$PRE.ControllerPm45.Pox,ControllerPm45.Pox,$PRE.ControllerPm45.wox,ControllerPm45.wox,$PRE.ControllerPm45.CSi,ControllerPm45.CSi,$PRE.ControllerPm45.CSp,ControllerPm45.CSp,$PRE.ControllerPm45.e,ControllerPm45.e,$whenCondition7,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$PRE.ControllerPm45.CS,ControllerPm45.CS,$PRE.ControllerPm60.CS,ControllerPm60.CS,$PRE.ControllerPm70.CS,ControllerPm70.CS,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.ControllerPm45.K,ControllerPm45.K,$PRE.ControllerPm45.TI,ControllerPm45.TI,$PRE.ControllerPm45.iMode,ControllerPm45.iMode,ATpulse.y,ATpulse.combiTimeTable.nextTimeEvent,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ControllerPm60.K,ControllerPm60.K,$PRE.ControllerPm60.TI,ControllerPm60.TI,$PRE.ControllerPm60.iMode,ControllerPm60.iMode,$PRE.ControllerPm70.K,ControllerPm70.K,$PRE.ControllerPm70.TI,ControllerPm70.TI,$PRE.ControllerPm70.iMode,ControllerPm70.iMode,ControllerPm70.TS_in,ControllerPm60.TS_in,ControllerPm45.TS_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009271/0.6331, allocations: 456.4 kB / 495.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.6333, allocations: 107.1 kB / 495.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.6354, allocations: 1.039 MB / 496.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6354, allocations: 4 kB / 496.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.6354, allocations: 4 kB / 496.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6354, allocations: 3.984 kB / 496.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.6363, allocations: 0.6658 MB / 497.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6364, allocations: 0 / 497.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.6368, allocations: 71.8 kB / 497.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6368, allocations: 0 / 497.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.637, allocations: 55.97 kB / 497.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.637, allocations: 4 kB / 497.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.637, allocations: 4 kB / 497.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002629/0.6396, allocations: 1.564 MB / 499.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003683/0.6433, allocations: 2.422 MB / 0.4898 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.6436, allocations: 163.9 kB / 0.49 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.6438, allocations: 59.91 kB / 0.49 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.6447, allocations: 131.9 kB / 0.4901 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.6448, allocations: 35.89 kB / 0.4902 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.6449, allocations: 55.91 kB / 0.4902 GB, free: 172 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.211/0.856, allocations: 367.2 kB / 0.4906 GB, free: 138.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00224/0.8583, allocations: 224.8 kB / 0.4908 GB, free: 138.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 61 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,ControllerPm45.CS,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.iMode,ControllerPm45.UP,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.e,ControllerPm45.CSp,ControllerPm45.CSi,ControllerPm45.nOx,ATpulse.y,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.CS,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.iMode,ControllerPm60.UP,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.e,ControllerPm60.CSp,ControllerPm60.CSi,ControllerPm60.nOx,ControllerPm70.CS,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.iMode,ControllerPm70.UP,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.e,ControllerPm70.CSp,ControllerPm70.CSi,ControllerPm70.nOx) * Number of discrete states: 59 (ControllerPm45.period,ControllerPm45.UP,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.CS,ControllerPm45.CSi,ControllerPm45.CSp,ControllerPm45.e,$whenCondition2,$whenCondition1,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.CS,ControllerPm60.CSi,ControllerPm60.CSp,ControllerPm60.e,$whenCondition4,$whenCondition3,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.CS,ControllerPm70.CSi,ControllerPm70.CSp,ControllerPm70.e,$whenCondition6,$whenCondition5,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.8594, allocations: 424.5 kB / 0.4912 GB, free: 138.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.861, allocations: 1.005 MB / 0.4922 GB, free: 138.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.861, allocations: 0 / 0.4922 GB, free: 138.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/0.8638, allocations: 3.588 MB / 0.4957 GB, free: 138.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.8645, allocations: 97.17 kB / 0.4958 GB, free: 138.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.8673, allocations: 1.415 MB / 0.4972 GB, free: 137.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/0.8679, allocations: 1.081 MB / 0.4982 GB, free: 136.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8679, allocations: 0 / 0.4982 GB, free: 136.9 MB / 378.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital/IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:184:29: error: unknown type name 'between' between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:184:42: error: illegal storage class on file-scoped variable between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:184:45: error: expected ';' after top level declarator between auto and tracking mode" ^ ; IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:184:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:195:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:206:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:372: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:371:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_setupDataStruc ^ In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:372: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.c:371:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_setupDataStruc ^ 7 warnings and 3 errors generated. make: *** [: IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital/IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.def IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.a IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.so IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_FMU.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_functions.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_records.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_01exo.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_02nls.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_03lsy.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_04set.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_05evt.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_06inz.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_07dly.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_08bnd.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_09alg.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_10asr.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_11mix.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_12jac.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_13opt.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_14lnz.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_15syn.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_16dae.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_17inl.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o