Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.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_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",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.004334/0.004334, allocations: 180.5 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08434/0.08434, allocations: 10.59 MB / 18.46 MB, free: 2.18 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.2 MB / 226.5 MB, free: 0.5938 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.0009215/0.0009214, allocations: 74.97 kB / 276.9 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1319/0.1329, allocations: 56.14 MB / 333 MB, free: 9.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.4669, allocations: 49.98 MB / 383 MB, free: 39.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.584, allocations: 82.31 MB / 465.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5844, allocations: 83.95 kB / 465.4 MB, free: 5.531 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.04496/0.6293, allocations: 14.62 MB / 480 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.6294, allocations: 8 kB / 480 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.6297, allocations: 114.9 kB / 480.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6311, allocations: 0.6281 MB / 480.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.6312, allocations: 130.1 kB / 480.9 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6314, allocations: 71.91 kB / 481 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/0.6327, allocations: 0.6543 MB / 481.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6341, allocations: 0.8572 MB / 482.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6342, allocations: 11.84 kB / 482.5 MB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.6343, allocations: 27.98 kB / 482.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6343, allocations: 12 kB / 482.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.6391, allocations: 2.33 MB / 484.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.6413, allocations: 1.833 MB / 486.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.643, allocations: 1.787 MB / 488.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.643, allocations: 8 kB / 488.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.6442, allocations: 0.9795 MB / 489.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.6442, allocations: 0 / 489.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.001898/0.6461, allocations: 1.02 MB / 490.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003619/0.6465, allocations: 0.558 MB / 491.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.6472, allocations: 0.502 MB / 491.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6474, allocations: 45.7 kB / 491.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.6476, allocations: 280.2 kB / 491.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.648, allocations: 288.2 kB / 492.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.648, allocations: 4 kB / 492.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.6483, allocations: 406.7 kB / 492.6 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.6487, allocations: 243 kB / 492.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.6495, allocations: 0.6938 MB / 493.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.6502, allocations: 400.9 kB / 493.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.6502, allocations: 5.781 kB / 493.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.001793/0.652, allocations: 1.138 MB / 495 MB, free: 7.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.652, allocations: 7.984 kB / 495 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.652, allocations: 16 kB / 495 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.6521, allocations: 24 kB / 495.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.653, allocations: 251.5 kB / 495.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.653, allocations: 31.91 kB / 495.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.6535, allocations: 103.1 kB / 495.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.6536, allocations: 63.98 kB / 495.5 MB, free: 6.711 MB / 378.7 MB Warning: Assuming fixed start value for the following 54 variables: 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.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.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.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.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.period:DISCRETE(fixed = false protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = false protected = true ) type: Boolean ProcessPm70.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessPm60.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessPm45.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessPm70.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessPm70.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessPm70.Y[3]:VARIABLE(protected = true ) type: Real [4] ControllerPm70.CSat:DISCRETE(fixed = false protected = true ) type: Real ControllerPm70.linFBout:VARIABLE(start = 0.0 stateSelect=StateSelect.always protected = true ) type: Real ControllerPm70.iMode:DISCRETE(fixed = false ) type: Integer ProcessPm60.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessPm60.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessPm60.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessPm60.Y[3]:VARIABLE(protected = true ) type: Real [4] ControllerPm60.CSat:DISCRETE(fixed = false protected = true ) type: Real ControllerPm60.linFBout:VARIABLE(start = 0.0 stateSelect=StateSelect.always protected = true ) type: Real ControllerPm60.iMode:DISCRETE(fixed = false ) type: Integer ControllerPm45.iMode:DISCRETE(fixed = false ) type: Integer ControllerPm45.linFBout:VARIABLE(start = 0.0 stateSelect=StateSelect.always protected = true ) type: Real ControllerPm45.CSat:DISCRETE(fixed = false protected = true ) 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] ProcessPm45.w:VARIABLE(protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 111 ($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.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.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.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.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.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$whenCondition13,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$PRE.ControllerPm45.iMode,ControllerPm45.iMode,$PRE.ControllerPm45.K,ControllerPm45.K,$PRE.ControllerPm45.TI,ControllerPm45.TI,$PRE.ControllerPm45.CSat,ControllerPm45.CSat,$PRE.ControllerPm45.AT,ControllerPm45.AT,ATpulse.y,ATpulse.combiTimeTable.nextTimeEvent,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ControllerPm60.iMode,ControllerPm60.iMode,$PRE.ControllerPm60.K,ControllerPm60.K,$PRE.ControllerPm60.TI,ControllerPm60.TI,$PRE.ControllerPm60.CSat,ControllerPm60.CSat,$PRE.ControllerPm60.AT,ControllerPm60.AT,$PRE.ControllerPm70.iMode,ControllerPm70.iMode,$PRE.ControllerPm70.K,ControllerPm70.K,$PRE.ControllerPm70.TI,ControllerPm70.TI,$PRE.ControllerPm70.CSat,ControllerPm70.CSat,$PRE.ControllerPm70.AT,ControllerPm70.AT,ControllerPm70.TS_in,ControllerPm60.TS_in,ControllerPm45.TS_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 172 * 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.0007773/0.6544, allocations: 428.1 kB / 495.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.6546, allocations: 111 kB / 496 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.6565, allocations: 1.123 MB / 497.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6565, allocations: 4 kB / 497.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6566, allocations: 9.297 kB / 497.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.6566, allocations: 0 / 497.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.6592, allocations: 1.859 MB / 499 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6592, allocations: 0 / 499 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.6599, allocations: 103.9 kB / 499.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6599, allocations: 0 / 499.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.66, allocations: 55.97 kB / 499.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.66, allocations: 0 / 499.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.66, allocations: 3.938 kB / 499.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002811/0.6629, allocations: 1.77 MB / 0.4892 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.227/0.8899, allocations: 2.663 MB / 0.4918 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.8903, allocations: 155.8 kB / 0.492 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005349/0.8909, allocations: 62.56 kB / 0.492 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.892, allocations: 120.1 kB / 0.4921 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.8923, allocations: 69.89 kB / 0.4922 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/0.8925, allocations: 58.33 kB / 0.4923 GB, free: 138.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000606/0.8931, allocations: 371.3 kB / 0.4926 GB, free: 138.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001814/0.8949, allocations: 232.9 kB / 0.4928 GB, free: 138.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (ControllerPm45.linFBout,ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ControllerPm60.linFBout,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ControllerPm70.linFBout,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 61 ($whenCondition13,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,ControllerPm45.iMode,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.CSat,ControllerPm45.AT,ControllerPm45.UP,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.nOx,ATpulse.y,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.iMode,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.CSat,ControllerPm60.AT,ControllerPm60.UP,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.nOx,ControllerPm70.iMode,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.CSat,ControllerPm70.AT,ControllerPm70.UP,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.nOx) * Number of discrete states: 65 (ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$whenCondition8,$whenCondition7,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.CSat,$whenCondition6,ControllerPm60.iMode,$whenCondition5,ControllerPm60.AT,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.CSpi,ControllerPm60.PV,$whenCondition12,$whenCondition11,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.CSat,$whenCondition10,ControllerPm70.iMode,$whenCondition9,ControllerPm70.AT,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.CSpi,ControllerPm70.PV,$whenCondition4,$whenCondition3,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.UP,ControllerPm45.CSat,$whenCondition2,ControllerPm45.iMode,$whenCondition1,ControllerPm45.AT,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.CSpi,ControllerPm45.PV) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * 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.001074/0.896, allocations: 426.5 kB / 0.4933 GB, free: 138 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.8979, allocations: 1.079 MB / 0.4943 GB, free: 137.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8979, allocations: 0 / 0.4943 GB, free: 137.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.9006, allocations: 3.53 MB / 0.4978 GB, free: 137.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.9012, allocations: 96.22 kB / 0.4978 GB, free: 137.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.9038, allocations: 1.512 MB / 0.4993 GB, free: 136.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.9045, allocations: 1.1 MB / 0.5004 GB, free: 136 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.9045, allocations: 0 / 0.5004 GB, free: 136 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_ATPIrelayNCmixedMode/IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.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_ATPIrelayNCmixedMode -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_ATPIrelayNCmixedMode_FMU.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_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_ATPIrelayNCmixedMode_FMU.c:190:29: error: unknown type name 'between' between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:190:42: error: illegal storage class on file-scoped variable between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:190:45: error: expected ';' after top level declarator between auto and tracking mode" ^ ; IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:190:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:201:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:212:59: warning: missing terminating '"' character [-Winvalid-pp-token] between auto and tracking mode" ^ In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:387: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:386:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_setupDataStruc ^ In file included from IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:387: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.c:386:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_setupDataStruc ^ 7 warnings and 3 errors generated. make: *** [: IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode/IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.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_ATPIrelayNCmixedMode.def IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.a IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.so IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_FMU.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_functions.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_records.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_01exo.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_02nls.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_03lsy.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_04set.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_05evt.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_06inz.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_07dly.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_08bnd.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_09alg.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_10asr.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_11mix.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_12jac.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_13opt.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_14lnz.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_15syn.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_16dae.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_17inl.o IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode_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