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.00129/0.00129, allocations: 72.55 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.001121/0.001121, allocations: 173.9 kB / 23.24 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.9294/0.9294, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.04001/0.04001, allocations: 9.137 MB / 269.1 MB, free: 4.461 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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 397.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.625e-05, allocations: 5.094 kB / 397.1 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004081/0.004107, allocations: 2.884 MB / 399.9 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.005262, allocations: 0.7276 MB / 400.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.0054, allocations: 7.938 kB / 400.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.005693, allocations: 71.27 kB / 400.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.005888, allocations: 47.53 kB / 400.8 MB, free: 13.48 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.0005597/0.006448, allocations: 231.1 kB / 401 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.006768, allocations: 327.1 kB / 401.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.006998, allocations: 113.7 kB / 401.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.007201, allocations: 223.5 kB / 401.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.007422, allocations: 139.5 kB / 401.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.007472, allocations: 36 kB / 401.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.007692, allocations: 155.7 kB / 402 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.007801, allocations: 119.6 kB / 402.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.007894, allocations: 111.7 kB / 402.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.008439, allocations: 0.5333 MB / 402.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.008443, allocations: 0 / 402.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008445, allocations: 0 / 402.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.008453, allocations: 4 kB / 402.8 MB, free: 11.5 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.001347/0.0098, allocations: 0.8025 MB / 403.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.009848, allocations: 8.031 kB / 403.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.009907, allocations: 70.72 kB / 403.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.009977, allocations: 40.7 kB / 403.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.01024, allocations: 241.6 kB / 403.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.01027, allocations: 33.02 kB / 403.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.01031, allocations: 28.38 kB / 404 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.01081, allocations: 403.9 kB / 404.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01082, allocations: 192 / 404.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.01084, allocations: 12.38 kB / 404.4 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.01086, allocations: 16.12 kB / 404.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.01114, allocations: 213.8 kB / 404.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01252, allocations: 1.199 MB / 405.8 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.01285, allocations: 261.1 kB / 406.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.01298, allocations: 132.2 kB / 406.2 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.01301, allocations: 4 kB / 406.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.01324, allocations: 228.6 kB / 406.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.01325, allocations: 4 kB / 406.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006506/0.0139, allocations: 483.7 kB / 406.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.01398, allocations: 178.2 kB / 407.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01417, allocations: 239.6 kB / 407.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.01421, allocations: 37.69 kB / 407.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01432, allocations: 184.9 kB / 407.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.01439, allocations: 87.31 kB / 407.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.01451, allocations: 110.2 kB / 407.7 MB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01463, allocations: 334.8 kB / 408 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.01478, allocations: 117.1 kB / 408.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.01501, allocations: 273.4 kB / 408.4 MB, free: 5.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.0154, allocations: 400.1 kB / 408.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.01541, allocations: 4 kB / 408.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005127/0.01592, allocations: 428.8 kB / 409.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.01595, allocations: 11.31 kB / 409.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.01596, allocations: 4 kB / 409.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.01599, allocations: 12 kB / 409.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.01617, allocations: 71.77 kB / 409.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.01618, allocations: 19.86 kB / 409.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01629, allocations: 39.73 kB / 409.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.01631, allocations: 23.98 kB / 409.4 MB, free: 4.348 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.0002295/0.01654, allocations: 203 kB / 409.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.01659, allocations: 31.86 kB / 409.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.01698, allocations: 291.5 kB / 409.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01698, allocations: 4 kB / 409.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.01699, allocations: 7.938 kB / 409.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.017, allocations: 3.984 kB / 409.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.01781, allocations: 0.7188 MB / 410.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.01781, allocations: 4.312 kB / 410.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.01787, allocations: 12 kB / 410.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.01788, allocations: 7.938 kB / 410.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.0179, allocations: 7.984 kB / 410.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.0179, allocations: 11.92 kB / 410.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.01791, allocations: 4 kB / 410.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.01838, allocations: 0.4897 MB / 411.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.0184, allocations: 31.72 kB / 411.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.01843, allocations: 8 kB / 411.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.0185, allocations: 15.92 kB / 411.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.01856, allocations: 23.91 kB / 411.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.01859, allocations: 15.98 kB / 411.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.845e-05/0.01867, allocations: 136.7 kB / 411.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01867, allocations: 3.938 kB / 411.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00039/0.01906, allocations: 123.6 kB / 411.5 MB, free: 2.121 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.001804/0.02086, allocations: 1.235 MB / 412.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.02133, allocations: 305.3 kB / 413.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.02133, allocations: 0 / 413.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.02149, allocations: 127.7 kB / 413.2 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.02184, allocations: 57.25 kB / 413.3 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.02478, allocations: 3.027 MB / 416.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.02496, allocations: 177.6 kB / 416.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.02508, allocations: 43.06 kB / 416.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.0252, allocations: 92.59 kB / 416.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.0252, allocations: 0 / 416.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.05338, allocations: 7.889 MB / 424.5 MB, free: 5.16 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 -- The C compiler identification is Clang 18.1.3 -- 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: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND -- 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.0252061588689685] Failed to read output from testmodel.py, exit status != 0: 0.2850864278152585 0.295215256 0.28477893699999995 Calling exit ...