Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007269/0.0007269, allocations: 97.02 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008112/0.0008113, allocations: 182.6 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1652/0.1652, allocations: 12.03 MB / 304.2 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 368.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08561, allocations: 53.34 MB / 421.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory): time 0.002927/0.08856, allocations: 2.392 MB / 424.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.08976, allocations: 0.7358 MB / 424.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.08986, allocations: 4 kB / 424.9 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.09004, allocations: 39.66 kB / 424.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.09018, allocations: 23.91 kB / 424.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.09068, allocations: 211.6 kB / 425.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1503/0.241, allocations: 283.5 kB / 425.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.2414, allocations: 195.7 kB / 425.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2415, allocations: 106 kB / 425.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2417, allocations: 132.6 kB / 425.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2418, allocations: 13.88 kB / 425.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.242, allocations: 127.7 kB / 426 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.2421, allocations: 75.62 kB / 426 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2422, allocations: 153.8 kB / 426.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2426, allocations: 462.5 kB / 426.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2426, allocations: 0 / 426.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2426, allocations: 0 / 426.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2426, allocations: 0 / 426.6 MB, free: 36.07 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008904/0.2435, allocations: 0.8196 MB / 427.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2436, allocations: 8.781 kB / 427.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.2437, allocations: 72.48 kB / 427.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.2437, allocations: 45.69 kB / 427.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.2439, allocations: 293 kB / 427.9 MB, free: 35.17 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: sharedMemoryRead.initialized = previous(sharedMemoryRead.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.244, allocations: 91.09 kB / 428 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.2441, allocations: 36.41 kB / 428 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2452, allocations: 0.9033 MB / 428.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2452, allocations: 6.734 kB / 428.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.2452, allocations: 15.06 kB / 428.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2452, allocations: 8.656 kB / 428.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2455, allocations: 224.1 kB / 429.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.2462, allocations: 0.9814 MB / 430.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.2468, allocations: 0.8691 MB / 431 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2471, allocations: 288.7 kB / 431.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.963e-05/0.2472, allocations: 35.67 kB / 431.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2472, allocations: 46.86 kB / 431.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/0.2472, allocations: 0.6562 kB / 431.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.000894/0.2481, allocations: 0.6003 MB / 432 MB, free: 33.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.2482, allocations: 248.4 kB / 432.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2484, allocations: 179.9 kB / 432.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.2484, allocations: 36.2 kB / 432.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.2485, allocations: 144.7 kB / 432.6 MB, free: 32.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2485, allocations: 44.89 kB / 432.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2486, allocations: 64.41 kB / 432.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.2486, allocations: 344.2 kB / 433 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2487, allocations: 86.95 kB / 433.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2489, allocations: 414.5 kB / 433.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.2493, allocations: 0.5375 MB / 434 MB, free: 31.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2493, allocations: 6.906 kB / 434 MB, free: 31.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005472/0.2499, allocations: 496 kB / 434.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2499, allocations: 9.375 kB / 434.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2499, allocations: 9.719 kB / 434.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.2499, allocations: 15.56 kB / 434.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2502, allocations: 110.4 kB / 434.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.2502, allocations: 20.58 kB / 434.7 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2504, allocations: 53.28 kB / 434.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2504, allocations: 31.84 kB / 434.8 MB, free: 31.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 25 (integerExpression.y,assignClock2.y,assignClock2.u,$CLKPRE.sharedMemoryRead.initialized,sharedMemoryRead.initialized,$CLKPRE.sharedMemoryRead.bufferSize,sharedMemoryRead.bufferSize,sharedMemoryRead.pkgOut.autoPkgBitSize,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sample1.y,$CLKPRE.sharedMemoryWrite.initialized,sharedMemoryWrite.initialized,sharedMemoryWrite.bufferSize,addInteger.u[1],getInteger.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 5 (sharedMemoryRead.dummy,sharedMemoryRead.initialized,sharedMemoryRead.bufferSize,sharedMemoryWrite.initialized,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.2506, allocations: 245.2 kB / 435 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.2512, allocations: 399.9 kB / 435.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.2519, allocations: 0.5269 MB / 435.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2519, allocations: 8.562 kB / 435.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2519, allocations: 3.344 kB / 435.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2519, allocations: 5.766 kB / 435.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.2524, allocations: 344.3 kB / 436.3 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2524, allocations: 3.188 kB / 436.3 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2526, allocations: 77.56 kB / 436.3 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2526, allocations: 3.406 kB / 436.4 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.2527, allocations: 22.56 kB / 436.4 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.2527, allocations: 2.938 kB / 436.4 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2527, allocations: 4.688 kB / 436.4 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.2534, allocations: 0.8825 MB / 437.3 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2534, allocations: 109.7 kB / 437.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.2535, allocations: 19.47 kB / 437.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2537, allocations: 12.56 kB / 437.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.2538, allocations: 16.19 kB / 437.4 MB, free: 30.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2538, allocations: 22.69 kB / 437.4 MB, free: 30.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.2539, allocations: 124.1 kB / 437.6 MB, free: 30.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2539, allocations: 0 / 437.6 MB, free: 30.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006077/0.2545, allocations: 118.7 kB / 437.7 MB, free: 30.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,integerExpression.y,$cse4,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.initialized,sample1.y,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],sharedMemoryRead.pkgOut.autoPkgBitSize,sharedMemoryRead.bufferSize,sharedMemoryRead.initialized,assignClock2.u,assignClock2.y) * Number of discrete states: 1 (sharedMemoryWrite.initialized) * Number of clocked states: 5 (packager.dummy,sharedMemoryWrite.initialized,sharedMemoryRead.bufferSize,sharedMemoryRead.initialized,sharedMemoryRead.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.256, allocations: 1.88 MB / 439.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006977/0.2567, allocations: 1.079 MB / 440.6 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2567, allocations: 0 / 440.6 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.257, allocations: 0.7515 MB / 441.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.2583, allocations: 1.101 MB / 442.5 MB, free: 26.96 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.2607, allocations: 2.511 MB / 445 MB, free: 25.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2609, allocations: 0.8221 MB / 445.8 MB, free: 24.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.261, allocations: 31.44 kB / 445.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.2611, allocations: 90.48 kB / 445.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2611, allocations: 0 / 445.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2771, allocations: 7.339 MB / 453.3 MB, free: 23.87 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.2773, allocations: 319.4 kB / 453.6 MB, free: 23.5 MB / 350.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:220:96: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[12]/* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:233:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[13]/* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:246:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[2]/* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:272:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.c:304:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ 2 warnings and 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory.o] Error 1