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.001004/0.001004, allocations: 103.1 kB / 16.07 MB, free: 32 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.001326/0.001326, allocations: 182.7 kB / 16.96 MB, free: 6.879 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.278/1.278, 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.1628/0.1628, allocations: 12.02 MB / 304.2 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 368.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08599, allocations: 53.35 MB / 421.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory): time 0.00279/0.08882, allocations: 2.388 MB / 424.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.08994, allocations: 0.7281 MB / 424.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.09004, allocations: 11.94 kB / 424.9 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.09024, allocations: 43.66 kB / 424.9 MB, free: 412 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.09036, allocations: 19.91 kB / 424.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.09084, allocations: 219.6 kB / 425.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1526/0.2435, allocations: 280 kB / 425.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.2438, allocations: 192.1 kB / 425.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.244, allocations: 105.8 kB / 425.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2441, allocations: 134 kB / 425.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.2442, allocations: 11.47 kB / 425.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2444, allocations: 128.4 kB / 426 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.2445, allocations: 70.55 kB / 426 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.2446, allocations: 156.4 kB / 426.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.245, allocations: 456.8 kB / 426.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.245, allocations: 0 / 426.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.245, allocations: 1.438 kB / 426.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.245, allocations: 0 / 426.6 MB, free: 36.57 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.0008339/0.2458, allocations: 0.8204 MB / 427.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2459, allocations: 8.062 kB / 427.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.2459, allocations: 80.66 kB / 427.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.246, allocations: 40.75 kB / 427.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2462, allocations: 294.2 kB / 427.9 MB, free: 35.67 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.237e-05/0.2463, allocations: 92.03 kB / 428 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.2463, allocations: 42.88 kB / 428 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2474, allocations: 0.9008 MB / 428.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2474, allocations: 0 / 428.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.2475, allocations: 18.64 kB / 428.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2475, allocations: 5.375 kB / 428.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.2478, allocations: 226.4 kB / 429.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.2484, allocations: 0.9762 MB / 430.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.249, allocations: 0.8768 MB / 431 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2494, allocations: 286.5 kB / 431.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/0.2494, allocations: 32.12 kB / 431.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2495, allocations: 50.27 kB / 431.4 MB, free: 34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.963e-06/0.2495, allocations: 0 / 431.4 MB, free: 34 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.000938/0.2504, allocations: 0.6075 MB / 432 MB, free: 33.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.2505, allocations: 243.9 kB / 432.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2506, allocations: 183.6 kB / 432.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2506, allocations: 35.17 kB / 432.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.2507, allocations: 141.7 kB / 432.6 MB, free: 33.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.2507, allocations: 55.86 kB / 432.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.2508, allocations: 58.06 kB / 432.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.2508, allocations: 339.7 kB / 433 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.251, allocations: 88.17 kB / 433.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.2512, allocations: 416 kB / 433.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2515, allocations: 0.5323 MB / 434 MB, free: 32.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2515, allocations: 7.938 kB / 434 MB, free: 32.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005413/0.2521, allocations: 499.4 kB / 434.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2521, allocations: 9.594 kB / 434.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2521, allocations: 12.88 kB / 434.6 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2521, allocations: 16 kB / 434.6 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.2524, allocations: 107.9 kB / 434.7 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2524, allocations: 23.84 kB / 434.7 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2526, allocations: 49.45 kB / 434.7 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.2526, allocations: 34.94 kB / 434.8 MB, free: 32.06 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.0001592/0.2528, allocations: 243.4 kB / 435 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.2533, allocations: 396.9 kB / 435.4 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.254, allocations: 0.5234 MB / 435.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.254, allocations: 9.734 kB / 435.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.254, allocations: 7.312 kB / 435.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2541, allocations: 0 / 435.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.2545, allocations: 342.1 kB / 436.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.2545, allocations: 5.656 kB / 436.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.2548, allocations: 76.58 kB / 436.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2548, allocations: 3.25 kB / 436.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.2548, allocations: 18.08 kB / 436.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2548, allocations: 2.906 kB / 436.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2548, allocations: 9.609 kB / 436.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.2555, allocations: 0.8845 MB / 437.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.2556, allocations: 106.1 kB / 437.4 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.2556, allocations: 19.59 kB / 437.4 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2559, allocations: 16.5 kB / 437.4 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2559, allocations: 18.08 kB / 437.4 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.2559, allocations: 26.48 kB / 437.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.256, allocations: 117.2 kB / 437.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.256, allocations: 0 / 437.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005996/0.2566, allocations: 113.9 kB / 437.7 MB, free: 30.77 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.001527/0.2582, allocations: 1.882 MB / 439.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.2588, allocations: 1.083 MB / 440.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2589, allocations: 0 / 440.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.2591, allocations: 0.7464 MB / 441.4 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.2603, allocations: 1.099 MB / 442.5 MB, free: 27.46 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.002157/0.2625, allocations: 2.511 MB / 445 MB, free: 25.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2627, allocations: 0.8201 MB / 445.8 MB, free: 25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.975e-05/0.2628, allocations: 36.25 kB / 445.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.2629, allocations: 86.17 kB / 446 MB, free: 24.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2629, allocations: 0 / 446 MB, free: 24.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3928/0.6557, allocations: 7.332 MB / 453.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.6559, allocations: 319.3 kB / 453.6 MB, free: 24 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