Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise",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/AdvancedNoise 1.1.0-master/package.mo): time 0.02621/0.02621, allocations: 3.79 MB / 11.07 MB, free: 1.715 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 177.3 kB / 12.39 MB, free: 0.4961 MB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 235 MB, free: 14.64 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009551, allocations: 102.1 kB / 286.6 MB, free: 12.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1334/0.1344, allocations: 57.3 MB / 343.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.4094, allocations: 51.15 MB / 395 MB, free: 33.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09644/0.5059, allocations: 78.13 MB / 473.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5061, allocations: 71.89 kB / 473.2 MB, free: 3.633 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01904/0.5252, allocations: 7.838 MB / 481.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5252, allocations: 8 kB / 481.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/0.5259, allocations: 79.66 kB / 481.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.5265, allocations: 302.6 kB / 481.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5265, allocations: 8 kB / 481.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.5266, allocations: 11.91 kB / 481.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002823/0.5268, allocations: 167.9 kB / 481.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.5272, allocations: 230 kB / 481.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5272, allocations: 0 / 481.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.5272, allocations: 4 kB / 481.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5273, allocations: 3.938 kB / 481.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.5275, allocations: 230.8 kB / 482.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.5278, allocations: 281.1 kB / 482.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5281, allocations: 258.1 kB / 482.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.5282, allocations: 3.938 kB / 482.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.5287, allocations: 479.6 kB / 483.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.5287, allocations: 0 / 483.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006922/0.5294, allocations: 414.9 kB / 483.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.5295, allocations: 157.2 kB / 483.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.5297, allocations: 183.8 kB / 483.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.5297, allocations: 29.7 kB / 483.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.5298, allocations: 92.62 kB / 483.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5299, allocations: 43.41 kB / 484 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.5299, allocations: 4 kB / 484 MB, free: 8.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.53, allocations: 338.8 kB / 484.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5302, allocations: 104.2 kB / 484.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.5304, allocations: 117.6 kB / 484.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.5307, allocations: 133.1 kB / 484.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5307, allocations: 0 / 484.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005427/0.5312, allocations: 335.2 kB / 485 MB, free: 7.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5312, allocations: 11.91 kB / 485 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5313, allocations: 3.984 kB / 485 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5313, allocations: 0 / 485 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5314, allocations: 27.98 kB / 485 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5315, allocations: 0 / 485 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.5316, allocations: 19.84 kB / 485.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.5316, allocations: 14.02 kB / 485.1 MB, free: 7.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002366/0.5319, allocations: 238.9 kB / 485.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.5319, allocations: 31.72 kB / 485.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.532, allocations: 13.41 kB / 485.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.532, allocations: 0 / 485.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.532, allocations: 0 / 485.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.532, allocations: 0 / 485.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.5322, allocations: 242 kB / 485.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5322, allocations: 0 / 485.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.5323, allocations: 19.92 kB / 485.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5323, allocations: 4 kB / 485.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.5324, allocations: 15.91 kB / 485.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5324, allocations: 4.188 kB / 485.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5324, allocations: 0 / 485.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006819/0.5331, allocations: 0.4943 MB / 486.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008454/0.5339, allocations: 0.8821 MB / 487 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.5341, allocations: 160.6 kB / 487.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.5342, allocations: 23.98 kB / 487.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5344, allocations: 20 kB / 487.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.5345, allocations: 19.97 kB / 487.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.5345, allocations: 23.97 kB / 487.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001209/0.5347, allocations: 138.5 kB / 487.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001012/0.5357, allocations: 91.83 kB / 487.5 MB, free: 4.918 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0005384/0.5362, allocations: 261.9 kB / 487.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.5368, allocations: 491.1 kB / 488.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5369, allocations: 0 / 488.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.5374, allocations: 0.5657 MB / 488.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5376, allocations: 24 kB / 488.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.5384, allocations: 396.9 kB / 489.2 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.5388, allocations: 0.7507 MB / 489.9 MB, free: 2.406 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5388, allocations: 0 / 489.9 MB, free: 2.406 MB / 362.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise/AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.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=AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise -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 AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_FMU.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_FMU.c In file included from AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_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); ^ 2 warnings generated. 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=AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise -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 AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c In file included from AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c:2: In file included from ./AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_model.h:4: 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); ^ AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c:248:179: error: use of undeclared identifier '$PnBuffer' real_array_create(&tmp35, ((modelica_real*)&((&data->localData[0]->realVars[6] /* timeBasedNoise1._buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, (((modelica_integer)$PnBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1._bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6],"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data))))])), 1, 2); ^ AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c:249:94: error: use of undeclared identifier '$PnBuffer' tmp39 = (*real_array_element_addr1(&tmp35, 1, /* modelica_integer */ (((modelica_integer)$PnBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1._bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6],"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data))))); ^ AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c:445:178: error: use of undeclared identifier '$PnBuffer' real_array_create(&tmp63, ((modelica_real*)&((&data->localData[0]->realVars[2] /* timeBasedNoise._buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, (((modelica_integer)$PnBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise._bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2],"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data))))])), 1, 2); ^ AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.c:446:94: error: use of undeclared identifier '$PnBuffer' tmp67 = (*real_array_element_addr1(&tmp63, 1, /* modelica_integer */ (((modelica_integer)$PnBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise._bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2],"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data))))); ^ 2 warnings and 4 errors generated. make: *** [: AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise/AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.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 AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.def AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.a AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.so AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_FMU.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_functions.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_records.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_01exo.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_02nls.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_03lsy.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_04set.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_05evt.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_06inz.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_07dly.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_08bnd.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_09alg.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_10asr.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_11mix.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_12jac.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_13opt.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_14lnz.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_15syn.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_16dae.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_17inl.o AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_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