Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9291/0.9291, allocations: 177.1 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03677/0.03677, allocations: 9.136 MB / 269.1 MB, free: 4.484 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 397.8 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.76e-05, allocations: 2.281 kB / 397.8 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.003329/0.003347, allocations: 2.797 MB / 400.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.004275, allocations: 0.6886 MB / 401.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004376, allocations: 7.938 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.004618, allocations: 63.41 kB / 401.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.004781, allocations: 51.45 kB / 401.4 MB, free: 12.86 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.005203, allocations: 215.2 kB / 401.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.005469, allocations: 307.2 kB / 402 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.005671, allocations: 105.4 kB / 402.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.005826, allocations: 207.5 kB / 402.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.006001, allocations: 127.6 kB / 402.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.00604, allocations: 36 kB / 402.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.006202, allocations: 151.7 kB / 402.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.006292, allocations: 107.6 kB / 402.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.006377, allocations: 103.7 kB / 402.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.006804, allocations: 0.51 MB / 403.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.006807, allocations: 0 / 403.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006808, allocations: 7.938 kB / 403.3 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006813, allocations: 4 kB / 403.3 MB, free: 11 MB / 378.7 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009342/0.007748, allocations: 0.7781 MB / 404.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.007791, allocations: 8.031 kB / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.007843, allocations: 66.72 kB / 404.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.007901, allocations: 44.69 kB / 404.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.008101, allocations: 221.2 kB / 404.4 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.00813, allocations: 28.97 kB / 404.4 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.008159, allocations: 32.36 kB / 404.5 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.008568, allocations: 364.2 kB / 404.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.008583, allocations: 4.172 kB / 404.8 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.008605, allocations: 16.38 kB / 404.8 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.008615, allocations: 12.12 kB / 404.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.00885, allocations: 188.6 kB / 405 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.009707, allocations: 1.072 MB / 406.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.01003, allocations: 230.5 kB / 406.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.01015, allocations: 107.4 kB / 406.4 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.01017, allocations: 11.94 kB / 406.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.01042, allocations: 207.6 kB / 406.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.01042, allocations: 0 / 406.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005858/0.01101, allocations: 469 kB / 407.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.01107, allocations: 148.5 kB / 407.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01123, allocations: 219 kB / 407.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01126, allocations: 41.7 kB / 407.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.01135, allocations: 176.6 kB / 407.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.01139, allocations: 79.42 kB / 407.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.01148, allocations: 98.16 kB / 407.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.01157, allocations: 338.8 kB / 408.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01169, allocations: 88.95 kB / 408.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.01186, allocations: 251.8 kB / 408.5 MB, free: 5.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.01217, allocations: 362.5 kB / 408.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.01217, allocations: 0 / 408.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000387/0.01256, allocations: 384.9 kB / 409.3 MB, free: 4.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01258, allocations: 8 kB / 409.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01259, allocations: 4 kB / 409.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.0126, allocations: 12.53 kB / 409.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01271, allocations: 55.91 kB / 409.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.01273, allocations: 23.91 kB / 409.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.0128, allocations: 31.72 kB / 409.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01282, allocations: 20 kB / 409.4 MB, free: 4.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 42 (sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.01296, allocations: 191 kB / 409.6 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.01299, allocations: 23.84 kB / 409.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.01323, allocations: 199.5 kB / 409.8 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01323, allocations: 4.609 kB / 409.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01323, allocations: 4 kB / 409.8 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01324, allocations: 3.984 kB / 409.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.01389, allocations: 0.8009 MB / 410.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01389, allocations: 4.438 kB / 410.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.01392, allocations: 8 kB / 410.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01392, allocations: 0 / 410.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01394, allocations: 15.92 kB / 410.6 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.01394, allocations: 4 kB / 410.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01394, allocations: 0 / 410.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.01436, allocations: 0.5406 MB / 411.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01438, allocations: 35.73 kB / 411.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.0144, allocations: 8 kB / 411.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.01447, allocations: 7.984 kB / 411.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.01451, allocations: 15.97 kB / 411.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.01453, allocations: 16 kB / 411.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.0146, allocations: 124.1 kB / 411.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0146, allocations: 0 / 411.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.01491, allocations: 107.7 kB / 411.5 MB, free: 2.223 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * 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.001141/0.01605, allocations: 1.307 MB / 412.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.01638, allocations: 261.8 kB / 413.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01638, allocations: 0 / 413.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.01652, allocations: 116 kB / 413.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.01685, allocations: 54.55 kB / 413.2 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.01932, allocations: 2.935 MB / 416.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01944, allocations: 171.5 kB / 416.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.01952, allocations: 46.44 kB / 416.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.01961, allocations: 84.47 kB / 416.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01961, allocations: 0 / 416.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07952/0.09913, allocations: 7.615 MB / 424.1 MB, free: 5.621 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '714.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"714\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources rt linked by target \"714\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.15582315903157]