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.0007086/0.0007086, allocations: 76.45 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.0008325/0.0008325, allocations: 173.9 kB / 23.25 MB, free: 1.309 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.8938/0.8938, 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.03464/0.03464, allocations: 9.134 MB / 269.1 MB, free: 4.477 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 6.943e-06/6.943e-06, allocations: 0 / 397.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/2.495e-05, allocations: 2.281 kB / 397.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003338/0.003363, allocations: 2.887 MB / 399.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.004247, allocations: 0.7314 MB / 400.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.221e-05/0.004339, allocations: 7.938 kB / 400.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.004549, allocations: 67.27 kB / 400.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.004688, allocations: 51.58 kB / 400.8 MB, free: 13.51 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.0004514/0.005139, allocations: 227 kB / 401 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.005399, allocations: 335.1 kB / 401.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.00558, allocations: 105.7 kB / 401.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.005739, allocations: 223.5 kB / 401.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.005899, allocations: 139.5 kB / 401.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.005935, allocations: 36 kB / 401.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.006122, allocations: 159.7 kB / 402 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.00621, allocations: 119.6 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.00629, allocations: 111.7 kB / 402.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.006698, allocations: 0.5294 MB / 402.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.0067, allocations: 0 / 402.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006701, allocations: 0 / 402.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006706, allocations: 0 / 402.8 MB, free: 11.54 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.000956/0.007662, allocations: 0.8065 MB / 403.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.007699, allocations: 8.031 kB / 403.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.007751, allocations: 74.64 kB / 403.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.00781, allocations: 40.7 kB / 403.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.008023, allocations: 241.6 kB / 403.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.008049, allocations: 25.03 kB / 403.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.00808, allocations: 36.36 kB / 404 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.008485, allocations: 403.9 kB / 404.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008495, allocations: 192 / 404.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.008517, allocations: 16.36 kB / 404.4 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.008526, allocations: 16.12 kB / 404.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.008774, allocations: 209.8 kB / 404.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.009718, allocations: 1.202 MB / 405.8 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.01001, allocations: 257.1 kB / 406.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.01013, allocations: 132.2 kB / 406.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01015, allocations: 4 kB / 406.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.01036, allocations: 224.6 kB / 406.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.312e-06/0.01036, allocations: 0 / 406.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000574/0.01093, allocations: 485.1 kB / 406.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.011, allocations: 174.2 kB / 407.1 MB, free: 6.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01115, allocations: 235.6 kB / 407.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01117, allocations: 45.64 kB / 407.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.01126, allocations: 180.9 kB / 407.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.01131, allocations: 87.38 kB / 407.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.0114, allocations: 110.2 kB / 407.7 MB, free: 6.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.01149, allocations: 342.8 kB / 408 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.01161, allocations: 105.2 kB / 408.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.0118, allocations: 277.6 kB / 408.4 MB, free: 5.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.01212, allocations: 408.1 kB / 408.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01212, allocations: 0 / 408.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004128/0.01254, allocations: 428.8 kB / 409.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01255, allocations: 8 kB / 409.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.01256, allocations: 8.656 kB / 409.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01257, allocations: 12 kB / 409.3 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.0127, allocations: 63.84 kB / 409.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.01271, allocations: 23.84 kB / 409.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.0128, allocations: 39.67 kB / 409.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01282, allocations: 24 kB / 409.4 MB, free: 4.383 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.0001424/0.01297, allocations: 203 kB / 409.6 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.013, allocations: 27.84 kB / 409.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.01331, allocations: 299.5 kB / 409.9 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01332, allocations: 4 kB / 409.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01332, allocations: 3.938 kB / 409.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01333, allocations: 0 / 409.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.01393, allocations: 0.7182 MB / 410.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01394, allocations: 0 / 410.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.01397, allocations: 15.98 kB / 410.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01397, allocations: 3.938 kB / 410.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01399, allocations: 7.984 kB / 410.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01399, allocations: 7.938 kB / 410.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01399, allocations: 4.062 kB / 410.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.01439, allocations: 0.5014 MB / 411.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.01441, allocations: 31.73 kB / 411.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.01444, allocations: 7.984 kB / 411.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.01449, allocations: 4 kB / 411.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.01454, allocations: 31.89 kB / 411.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.01456, allocations: 8 kB / 411.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.01463, allocations: 136.7 kB / 411.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 7.875 kB / 411.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.01494, allocations: 123.6 kB / 411.5 MB, free: 2.164 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.0009388/0.01588, allocations: 1.248 MB / 412.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.01624, allocations: 296.7 kB / 413.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01624, allocations: 0 / 413.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.01637, allocations: 125.5 kB / 413.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01664, allocations: 59.14 kB / 413.3 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.01896, allocations: 3.03 MB / 416.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.01907, allocations: 181.6 kB / 416.5 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.967e-05/0.01915, allocations: 34.97 kB / 416.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.01925, allocations: 100.6 kB / 416.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01925, allocations: 0 / 416.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.04449, allocations: 7.885 MB / 424.5 MB, free: 5.203 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: 1.8504747012630105] Failed to read output from testmodel.py, exit status != 0: 0.25025282613933086 0.260061919 0.25157511399999993 Calling exit ...