Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.001074/0.001074, allocations: 80.44 kB / 19.96 MB, free: 4.605 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.0009502/0.0009502, allocations: 173.9 kB / 23.25 MB, free: 1.316 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.9345/0.9345, allocations: 177.1 MB / 203.6 MB, free: 5.77 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.03599/0.03599, allocations: 9.141 MB / 269.1 MB, free: 4.5 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_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 397.8 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.845e-05, allocations: 2.281 kB / 397.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005258/0.005286, allocations: 2.884 MB / 400.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.00691, allocations: 0.7353 MB / 401.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.007071, allocations: 7.938 kB / 401.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.0074, allocations: 67.27 kB / 401.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.007625, allocations: 51.53 kB / 401.6 MB, free: 12.73 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.0007615/0.008387, allocations: 235.1 kB / 401.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.00881, allocations: 327.1 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.009097, allocations: 113.6 kB / 402.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.009366, allocations: 215.5 kB / 402.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.009634, allocations: 143.5 kB / 402.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.009694, allocations: 36 kB / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.009965, allocations: 159.7 kB / 402.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.0101, allocations: 111.6 kB / 402.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.01023, allocations: 115.7 kB / 403 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.01093, allocations: 0.5294 MB / 403.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01093, allocations: 4 kB / 403.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01093, allocations: 0 / 403.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.01095, allocations: 3.984 kB / 403.5 MB, free: 10.75 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001426/0.01237, allocations: 0.7909 MB / 404.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.01244, allocations: 12.03 kB / 404.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.757e-05/0.01252, allocations: 78.64 kB / 404.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.266e-05/0.01262, allocations: 36.7 kB / 404.5 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.01294, allocations: 241.7 kB / 404.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.01298, allocations: 25.03 kB / 404.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.01303, allocations: 36.36 kB / 404.8 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.01368, allocations: 403.9 kB / 405.1 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.0137, allocations: 192 / 405.1 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.01374, allocations: 20.34 kB / 405.2 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01375, allocations: 12.12 kB / 405.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.01416, allocations: 217.7 kB / 405.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.01563, allocations: 1.199 MB / 406.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.01607, allocations: 269.1 kB / 406.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.01627, allocations: 120.2 kB / 407 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.0163, allocations: 7.984 kB / 407 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.01664, allocations: 224.6 kB / 407.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.01664, allocations: 0 / 407.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009969/0.01764, allocations: 482.3 kB / 407.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.01774, allocations: 174.2 kB / 407.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.01798, allocations: 239.5 kB / 408.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.01812, allocations: 41.69 kB / 408.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.01826, allocations: 180.8 kB / 408.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.01834, allocations: 91.36 kB / 408.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.01849, allocations: 106.4 kB / 408.5 MB, free: 5.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01861, allocations: 342.8 kB / 408.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.01882, allocations: 108.9 kB / 408.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.01914, allocations: 269.4 kB / 409.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.01964, allocations: 404.1 kB / 409.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.01965, allocations: 4 kB / 409.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006816/0.02033, allocations: 433.4 kB / 410 MB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.02035, allocations: 8.031 kB / 410 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.02037, allocations: 8 kB / 410 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.02039, allocations: 8 kB / 410 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.02062, allocations: 63.84 kB / 410.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.02064, allocations: 23.84 kB / 410.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.0208, allocations: 39.73 kB / 410.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.02083, allocations: 20 kB / 410.2 MB, free: 3.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (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,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.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,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 (58): * Single equations (assignments): 58 * 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.0002435/0.02107, allocations: 207.2 kB / 410.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.02113, allocations: 23.86 kB / 410.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.02166, allocations: 295.5 kB / 410.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.02166, allocations: 4 kB / 410.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.02167, allocations: 7.938 kB / 410.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.02168, allocations: 4 kB / 410.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.02274, allocations: 0.7221 MB / 411.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02274, allocations: 3.938 kB / 411.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.0228, allocations: 19.94 kB / 411.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.02281, allocations: 7.938 kB / 411.5 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.02283, allocations: 11.98 kB / 411.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.02284, allocations: 0 / 411.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.02284, allocations: 0 / 411.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.02352, allocations: 0.5052 MB / 412 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.02355, allocations: 27.73 kB / 412 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.02359, allocations: 11.98 kB / 412 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.02369, allocations: 7.984 kB / 412 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.02377, allocations: 23.97 kB / 412 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.02381, allocations: 11.98 kB / 412.1 MB, free: 1.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.02392, allocations: 132.7 kB / 412.2 MB, free: 1.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02392, allocations: 3.938 kB / 412.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006061/0.02453, allocations: 127.7 kB / 412.3 MB, free: 1.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * 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.0019/0.02643, allocations: 1.247 MB / 413.6 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.02709, allocations: 291.7 kB / 413.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.0271, allocations: 0 / 413.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.02733, allocations: 130.6 kB / 414 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.02784, allocations: 64.5 kB / 414 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.03214, allocations: 3.026 MB / 417.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.03234, allocations: 181.6 kB / 417.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.0325, allocations: 42.95 kB / 417.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.03266, allocations: 88.66 kB / 417.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.923e-06/0.03266, allocations: 0 / 417.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08957/0.1222, allocations: 7.99 MB / 425.4 MB, free: 4.328 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '743.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_SharedMemoryExternalTrigger/743.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_SharedMemoryExternalTrigger/743.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 \"743\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources rt linked by target \"743\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.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.316267332062125]